* fix(api): type /scripts/list response as ListableScript
GET /w/{workspace}/scripts/list is documented as returning the full Script
schema, but it actually returns a lighter object (Rust ListableScript) that
omits heavy fields like content, created_by, parent_hashes, deleted,
is_template and has_preprocessor. The OpenAPI docs — and the generated clients
— therefore over-promise fields that are never present at runtime.
Add an accurate ListableScript schema and point the /scripts/list response at
it. Regenerating the frontend client surfaced several consumers that were typed
against the full Script for list results; retype them to ListableScript. They
only use the lighter fields — full-script fields elsewhere come from separate
getScriptByPath/getScriptByHash fetches and are unchanged.
Addresses #5451
* fix: type /scripts/list as ListableScript matching the Rust struct, retype its consumers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: fail when ListableScript and its openapi schema drift apart
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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* fix: keep group run-as principals when renaming a group-* member
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: assert the run-as move never receives a group principal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: move handler paths when renaming or offboarding a user
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: move a schedule's skip handler path on rename and offboarding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: restart trigger listeners whose error handler path moved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: move command scripts and default app on rename and offboarding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
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>
* [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>
* 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>
* 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>
* 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>
* 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>