* fix: revoke api tokens and mcp oauth grants on leave_instance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: pin token deletion on leave_instance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs: note hash-based script reads are unauthed by design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: mention raw/h skips token scopes too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep step_id, job_id, flow_path and extra on dedicated worker errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: add extra to python and step context to native dedicated worker errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep dedicated python worker alive on unserializable error attributes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 07883025e535974b9a01b20913f904b8f798d311
This commit updates the EE repository reference after PR #982 was merged in windmill-ee-private.
Previous ee-repo-ref: 129aa6a625084ea3a35d8f37bf3b825f1b2cee26
New ee-repo-ref: 07883025e535974b9a01b20913f904b8f798d311
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>
* fix: run dedicated flow script steps on their runners
* fix: give pinned script versions their own runner directory
* chore: update ee-repo-ref to 3162714b4eeafb33058eab075f9c24403fc7f690
This commit updates the EE repository reference after PR #983 was merged in windmill-ee-private.
Previous ee-repo-ref: 4d2b5c5ec67f86e54178f314809e8ac9a404c061
New ee-repo-ref: 3162714b4eeafb33058eab075f9c24403fc7f690
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
#12414 made the webhook URL a settings secret, so the v2 settings export
writes it encrypted. The test still expected it in plaintext.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: Workload Identity Federation for Vertex AI resources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: list vertex_workload_identity in feature telemetry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: vertex_ai_federated resource type instead of fields on anthropic and googleai
A federating resource carries no key and only works where Windmill runs the
exchange, so it gets its own type: the anthropic and googleai types keep a
required key and their generated script types stay unchanged. The type implies
Vertex, and the pickers infer Claude or Gemini from its base_url publisher.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: resolve a variable base URL, keep federated Vertex out of decisions, drop stale picks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: point token-based Vertex AI resources at vertex_ai_federated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 458eeca8c31ba093a72eeb1ed9d82a83e18477db
This commit updates the EE repository reference after PR #981 was merged in windmill-ee-private.
Previous ee-repo-ref: 269785e57e681bea9be0c66ca1b8ba92b04d836a
New ee-repo-ref: 458eeca8c31ba093a72eeb1ed9d82a83e18477db
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>
* chore: treat the workspace webhook URL as a settings secret
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep the webhook when pushing settings to a server storing it plain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: reattach applySettingsDocument doc comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: stop logging string and object instance setting values
The generic setting loaders printed every value loaded from global_settings,
so credentials in bunfig_install_scopes, npmrc, pip_index_url,
powershell_repo_pat, cargo_registries, maven_settings_xml, hub_api_secret, ...
landed in clear in server and worker logs at startup and on every reload.
Only scalar values are printed now; strings, arrays and objects are reduced
to their length.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep registry tokens and index urls out of worker debug logs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* [ee] feat: clarify OAuth connect levels and client credential sharing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: show the share warning only once credentials are set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: accept per-instance OAuth entries saved with explicit URLs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: reject an empty instance name, skip identity icons the grant can't tell, gate the test button on EE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep hand-written URLs of per-instance OAuth entries on save
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: name OAuth grants plainly in the resource drawer and settings
The instance settings label each grant by its OAuth name, as the provider's
console does. The resource drawer leads with what each option does (log in
with your account, connect as an app), keeps the grant name as a hint, and
names the provider by its display name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: test client credentials on a copy and keep hand-written token URLs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: accept the Teams tenant when validating OAuth settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: give client credentials its own section in the OAuth settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: lay out every OAuth provider card in the same three sections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: organise OAuth provider cards around the app and name sharing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFqwJ3NEP729jYHMWSS
* fix: warn when sharing stops, check only changed OAuth entries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFqwJ3NEP729jYHMWSS
* fix: drop the extra line on the Others provider row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFqwJ3NEP729jYHMWSS
* fix: always show the OAuth redirect URL and name the client credentials capability
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFqwJ3NEP729jYHMWSS
* fix: show client credentials support as set while sharing, reword OAuth hints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFqwJ3NEP729jYHMWSS
* chore: update ee-repo-ref to db10448ac8c55485b4eeaa1e7c3281a9e0bb2544
This commit updates the EE repository reference after PR #890 was merged in windmill-ee-private.
Previous ee-repo-ref: b9ed2a3aa3fb443be5241e28456e07e81b5dfc88
New ee-repo-ref: db10448ac8c55485b4eeaa1e7c3281a9e0bb2544
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>
* feat: mount volumes read-only without the exclusive lease
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3
* fix: gate lease-free volume reads on the fleet version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3
* fix: keep held volumes counted by cache eviction, restore MIN_VERSION in tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3
* chore: update ee-repo-ref to 38904055ab0d104006278322299bdbcea32c88d1
This commit updates the EE repository reference after PR #980 was merged in windmill-ee-private.
Previous ee-repo-ref: 1fe25fa2530efdba4f8a3bf5dbfbb6f85e616ce7
New ee-repo-ref: 38904055ab0d104006278322299bdbcea32c88d1
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>
* fix: hold a builder's hub steps to the run-time hub rule
* fix: show the server's reason when a flow test run is refused
* fix: check each distinct hub path once when a builder saves a flow
* fix: drop an unused import from the app builder check tests
* feat: give ai agent drafts their own agent draft kind
* feat: keep an agent's deployed identity when a deploy keeps one unnamed
* refactor: read agent drafts by their kind instead of probing resources
* feat: give the agent editor the script and flow editors' draft controls
* docs: describe agent drafts as their own draft kind
* fix: always autosave an agent edited in a session tab
* revert: keep naming an agent's deployed identity on the client
Deploying an agent draft goes back to sending the deployed identity it keeps,
as main does, instead of the server filling it in when a write asks to keep
one it does not name. Every other kind keeps only an identity a write names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep an agent's deployed identity when Edit as JSON saves its draft
The JSON view now loads the agent's draft, which never carries the identity,
so a save restates the deployed one as a draft deploy does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: type the deployed agent value read in the resource editor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: keep agent drafts as resource drafts, typed by the drafts listing
Drops the agent draft kind (its enum value, migrations, kind check and the
draft-kind rules mirrored in Rust and TypeScript). Agent drafts stay resource
drafts, private to their author like every resource draft. /drafts/list now
reports a resource draft's resource_type (the deployed row's, else the one the
draft names), and for an agent its description as summary and its path as
draft_path, so the Review & Deploy page, the session changes bar and the
session's agent list tell agents apart without fetching each draft. The agent
editor keeps the script and flow editors' draft controls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep the agent role check and key the agent editor's draft prompts by resource
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: place the agent editor's draft status as the script and flow editors do
On its own page it leads the actions, followed by Diff; in the dialog and the
session pane, which draw their own bar, it sits beside the agent's name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: drop the agent editor's other users' drafts handling until agent drafts are shared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: ask before leaving the agent dialog with edits auto-save has not saved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: draft owner avatar and add-to-AI-context on agent rows, as on script and flow rows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
* feat: agents duplicate, share from their editor and Recent card, and appear in the chat's @ picker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
* fix: an agent's draft badge opens the agent editor and names it an agent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
* fix: offer +@ on an agent's Recent card while the composer is open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
* fix: keep the editor header's kind to the items it heads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
* fix: type the not-found header's kind as the editor header takes it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F4rzFn8gXk7QbT6BeF4Nq2
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: show keyboard shortcut hints on the queued message chip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style: realign queued chip comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: make the queued message chip less faded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: send a queued message into the running AI turn with Ctrl/⌘+Enter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: point the EE ref at the send_without_stopping allowlist entry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: check the session model and keep the queued chip hint true to delivery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: move the vision comment back above its own test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: drop a one-shot code selection after a mid-turn send
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 540d78337de9da0ec56f59c911f9feac5d0df608
This commit updates the EE repository reference after PR #979 was merged in windmill-ee-private.
Previous ee-repo-ref: 5320af8e6de21198dd98fb6699f91b5642a4da5b
New ee-repo-ref: 540d78337de9da0ec56f59c911f9feac5d0df608
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>
* feat: run the git sync pull request diff check from auto-pull polling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: retry failed pr check claims and never overwrite a newer claim
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: retry pr check claims whose check never started and start checks detached
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: re-run the pr diff check on reopen and retarget
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: bump ee ref for the claim helper caller contract
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 5a9f39d1188f94599c5cee24b9fe4e36a578ef80
This commit updates the EE repository reference after PR #977 was merged in windmill-ee-private.
Previous ee-repo-ref: 95463c1ab277c80efc16cd0c2322bf32bbaceb7c
New ee-repo-ref: 5a9f39d1188f94599c5cee24b9fe4e36a578ef80
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>
* fix: report a failed mcp script or flow run as a tool error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: take mcp run success from the job and cap failure text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The API already records the rejection under the approver; the worker added a
second row under the flow's requester saying the step timed out.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
* feat: render charts and tables in AI chat replies and artifacts
* fix: count display blocks when the chat commits a reply
* fix: keep display blocks in artifact PDF and HTML exports
* chore: update ee-repo-ref to a5d1e052df3e920d3f0b50bdb148c37bf8eec2c4
This commit updates the EE repository reference after PR #978 was merged in windmill-ee-private.
Previous ee-repo-ref: 4ee687c09398105fd7ffe1702493ced097ef6359
New ee-repo-ref: a5d1e052df3e920d3f0b50bdb148c37bf8eec2c4
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix: run ci tests once a batch deploy has landed, not per item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: require deploy rights for ci test batches and wait out delayed relocks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate ci test batches on run role and keep failed pushes tested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: say who chose the path wherever a job is built from one
* refactor: rename SavedItem to Deployed, checked when saved
* refactor: trigger pushes are deployed, test connection named by the tester
* chore: update ee-repo-ref to bf04cefe64776cb7262f041105b6ceca2953d5f4
This commit updates the EE repository reference after PR #976 was merged in windmill-ee-private.
Previous ee-repo-ref: 2276bc7f7f711d6ef33a5133ca87e78ae0fa345a
New ee-repo-ref: bf04cefe64776cb7262f041105b6ceca2953d5f4
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix: move schedule and trigger run-as principals when renaming a user
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: let kafka pending commits follow a renamed trigger path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep group run-as when renaming a legacy group-prefixed member
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: give artifact documents a windmill look across viewer, shared page and exports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: serve the italic inter face on the public app domain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: draw diagrams and nested code blocks in the html download
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: drop the removed doc preset from the kitchen sink markdown tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: embed the newsreader italic face for emphasis in headings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: inter-only artifact look, numbered sections, wider tables
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep section numbers when a heading only starts with a digit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: treat only a heading numbered 1 as self-numbering
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: rebuild the cloudflare pages preview
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep favorites when forking a workspace
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: check the fork favorites query at compile time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: move a live ai session into a workspace fork with its drafts
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: guard session moves against concurrent turns and unsaved edits
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: harden the draft transfer against bound tokens, key drift and concurrent saves
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* chore: point ee-repo-ref at the moved_to_fork registration
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* chore: point ee-repo-ref at the ee branch merged with its matching main
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: re-copy drafts into a new fork and keep other tabs in step with a move
- A new fork now gets the same transfer as an existing one, with
replace_existing set only when this move created the fork, so a draft
saved after the clone reaches the fork and an existing fork's own drafts
still go through the conflict check.
- The transfer runs the operator composition check on each draft in the
target workspace, the same check as a direct save there.
- Editors already open on a moved item in the fork reload it from the
server.
- Other tabs on the session hold their composer during a move and adopt
the session's new workspace when it ends.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: lock the composer during a move and copy only the locked source drafts
- The tab doing a move disables its composer until the move ends, and the
move checks again for a running turn once a new fork exists.
- Saves still pending in editors open in an existing fork are flushed
before the transfer, so they surface as conflicts instead of landing on
the moved draft later.
- The transfer copies, conflict-checks and removes only the source rows it
locked and validated; a draft saved at a requested key after the lock is
left out.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: keep fork drafts with no source row and re-read the move's drafts on confirm
- replace_existing deletes only the fork drafts the transfer replaces, so a
draft discarded in the parent after the clone does not take the fork's
copy with it.
- Confirming a move lists the session's drafts again once no turn can
start, and sends the user back to the dialog if the list changed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: let a move be retried after its conflicts are resolved
- Move stays enabled while the dialog lists conflicts; confirming re-reads
them, so a draft discarded in the fork meanwhile no longer blocks it.
- A dialog left open while another tab moved the session closes instead of
moving from the old workspace.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: refuse to confirm a move while a turn runs
A turn started while the move dialog was open owns the cross-tab hold the
move would take, and the move would release it while the turn still runs.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: disable moving a session again while a move runs
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: re-read the session's drafts once a new fork exists
Creating the fork takes seconds, during which an edit in the session's
preview can save a draft in the parent that the move's list did not have.
The move now flushes and lists the drafts again before the transfer, and
reopens the dialog on the created fork when they changed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: keep restricted roles from creating a fork through a session move
The move's fork gate checked only the workspace's forking rule. A role
missing a capability would get the default role in a fork it creates, so
the gate also refuses restricted roles, as the workspace picker does.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: hold the session read-only while it moves into a fork
An edit in the session's preview during a move saves a draft in the
workspace being left, after the move listed what it brings, at any of
its awaits. The session now reads as read-only for the whole move, so
the preview shows its items without an editor until the move ends.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: close only draft editors during a move, and say why
Variable, resource and trigger editors save on click and write no draft,
so closing them during a move protected nothing and lost a half-filled
form when the move stopped. Only the editors that save drafts close, and
the pipeline tab names the move instead of Use mode.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: close variable, resource and trigger editors during a move too
They keep their edits as drafts like the other editors, so an edit during
the move could save one in the workspace being left. Their state lives in
the draft, so closing them loses nothing; they reopen in the fork.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: flush every code editor through one registry, and name the move in editor tabs
- Monaco's Editor registers in pendingEditorFlush next to SimpleEditor,
and the move drains that registry, so SimpleEditor buffers (step input
expressions, resource and variable JSON fields) also land before it.
The separate keystroke registry is gone.
- A flow, script or app editor tab closed for a move says it reopens
once the move ends, instead of showing the parent's viewer.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: re-point unresolvable identities in drafts a move copies into a fork
Fork creation re-points an app policy or trigger in a cloned draft that
names nobody in the fork at its creator, since a deploy there rejects an
identity that does not resolve. The transfer copied drafts without that
step, and replace_existing overwrote the clone's repaired copy. The draft
half of the repoint is now shared and runs on the rows a transfer copies.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: drop script lineage a fork does not have when copying drafts into it
A script draft kept its base and parent_hash on the grounds that a fork
shares its parent's script hashes. That holds for what the fork cloned,
but not for a version deployed in the parent afterwards, and a deploy in
the fork naming it as parent is refused. The copy now keeps the lineage
only when the target has that version.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: pin that a transfer keeps script lineage the fork has
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: drain draft editors before closing them for a move
Closing an editor drops an edit it has not yet handed to its draft save,
so a keystroke typed just before the move could be lost. The editors are
now flushed while still mounted, and closed right after with no await in
between.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: hold every turn during a move, and state the repoint's contract
- The chat manager refuses sends, retries and message edits while a move
runs, from its first step, handing the text back. The composer was
locked but a retry or an edit could still start a turn in the parent.
- A move into an existing fork checks again for a running turn after
saving that fork's pending edits.
- repoint_unresolvable_draft_identities documents that it authorizes
nothing and when its unscoped form may be used.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: refuse a move while an editor holds text that is not valid JSON
That text never reaches the draft, and the move closes the editor holding
it. The move now refuses before closing anything, as opening a session
from a page drawer already does.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: check for invalid JSON after the editors have parsed what was flushed
The JSON editors parse a flushed buffer in an effect, so the check reads
the registry after a tick, as RunForm and the page drawer already do. The
message says the editor is in the preview.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* perf: look script lineage up by key when copying drafts
The lineage check compared a hex rendering of every script hash, which
ruled out the primary key and scanned the target's script versions for
each script draft, fork creation included. It now converts the draft's
16-digit hex to the bigint column, guarded so a malformed value never
reaches the cast.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: stop preview input from the move's first step
The editors stay mounted while the move drains them, and a keystroke
typed during that drain was lost when they closed, or left in the parent
of an existing fork. The preview tabs are inert from the move's first
step, so nothing new reaches an editor after the drain starts.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: update the local draft markers for drafts a move transfers
The transfer bypasses the syncer that keeps localDraftHints, and lists
prefer a hint over the server's flag, so the parent kept its markers after
"Remove these drafts". The parent's hints are cleared for removed drafts
and the fork's set for copied ones.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat: move a session to any workspace of its family
A session could only move into a direct fork of its workspace. The picker
now lists the whole family and lets a new fork be based on any of its
workspaces, and /drafts/transfer accepts any target with the same root.
A fork the move creates from elsewhere holds that base's drafts, so its
drafts are never replaced.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate fork creation in the move picker on the fork capability
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: refuse to move a pipeline draft based on a version the target lacks
A pipeline node deploys with its script hash as parent_hash, so a move to a
workspace without that version left a draft whose Deploy all fails there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: check the move's token against the target by re-authenticating it
The transfer endpoint looked the caller's token up in the `token` table, so
an external-JWT login, which has no row there, could never move a session.
It now resolves the same token against the target workspace, which refuses a
token bound to the source whatever its kind, and still refuses job tokens.
Also stop calling the move target a fork in the model note, the menu item,
the editor placeholders and the moving notices: it can be the root or a
sibling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: check a move's writes with the rights its token carries in the target
The transfer re-authenticated the token against the target but then checked
writes with the user's database membership there, so a JWT whose claims are
narrower than that membership could copy a draft to a path it cannot save to
directly. The identity the re-authentication returns is now the one the
checks and the copy use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep an unsent session out of the move after main's session refactor
An unsent session holds its workspace in `pending_workspace_id`, which
`createSession` rewrites when it reuses the blank session; moving it set
`workspace_id`, so a later new session from the old workspace acted on the
fork. The move menu item is hidden until the session has a `workspace_id`.
The transfer test's JWT claims also set main's new `mcp_client` field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: move the drafts a session's user edited by hand
The move's draft list read only the chats' `modifiedItems`, so a draft the
user edited in a session tab, which main now records in `sessionHandEdits`
and the Changes bar counts, stayed behind in the workspace left.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep raw app edits and report draft races on session move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: offer to move the session when switching fork in the breadcrumb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: pass the optional don't move handler through onClick
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 3ad072124c3682e282829dd7213e42a6e28cf1fa
This commit updates the EE repository reference after PR #856 was merged in windmill-ee-private.
Previous ee-repo-ref: 90af10fe72bfcb981abaa119239a63d085030215
New ee-repo-ref: 3ad072124c3682e282829dd7213e42a6e28cf1fa
Automated by sync-ee-ref workflow.
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix: treat skipped jobs as successful in result_maybe, run-and-wait, AI tools and Slack agents
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: return is_skipped from get_result_maybe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: carry folder display names through fork deploy and diff
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: fold the folder display name check into the existing deploy test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: carry resource types' file settings and resources' type through fork deploy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: bump windmill-utils-internal to 1.8.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: document folder display_name in the api and pick up windmill-utils-internal 1.8.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: use native structured outputs for Claude AI agents, not a forced tool
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep the structured output tool for Claude but stop forcing it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: read dedicated worker entries with the runnable parser
* chore: update ee-repo-ref to 1b1071ad69624a79e6eb9ceeb5d0f63c29de8167
This commit updates the EE repository reference after PR #972 was merged in windmill-ee-private.
Previous ee-repo-ref: e31dd26f77fb301bb075f9c0f680de7c6ef1da36
New ee-repo-ref: 1b1071ad69624a79e6eb9ceeb5d0f63c29de8167
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>
* fix: drop renamed and deleted items from Home recent list
* refactor: check home recent items through the runnables listing
* fix: keep the renamed item and its new summary on its Home recent card
* [ee] fix: build Azure block upload URLs from the endpoint the object store client uses
Bumps ee-repo-ref to the companion windmill-ee-private commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to c75b9d7ca70cc3a33c7619aa969b02297e732ecb
This commit updates the EE repository reference after PR #974 was merged in windmill-ee-private.
Previous ee-repo-ref: e0be4037aa3a588fcf19bd41faa9485c35b35a23
New ee-repo-ref: c75b9d7ca70cc3a33c7619aa969b02297e732ecb
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>