* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
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>
* feat: record and download a worker group's autoscaling decisions
* fix: count decisions without fetching them and show the controls to devops only
* chore: update ee-repo-ref to cac1d382a7c22e8a4e9c56832ad12d11de5bba7f
This commit updates the EE repository reference after PR #999 was merged in windmill-ee-private.
Previous ee-repo-ref: e2232bda0cea3c1abcdac88140f48f6c7d90d15d
New ee-repo-ref: cac1d382a7c22e8a4e9c56832ad12d11de5bba7f
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* 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>
* 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>
* 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>
* 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>
* [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: 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: 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>
* 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: 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
* perf: list audit logs by timestamp so only recent partitions are read
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: pin audit log paging by (timestamp, id) cursor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to d7d509d0955c52f83afd0bf8b61a0e811162c16f
This commit updates the EE repository reference after PR #971 was merged in windmill-ee-private.
Previous ee-repo-ref: 07dcbcda7762b5efab7caa515122066fa274c039
New ee-repo-ref: d7d509d0955c52f83afd0bf8b61a0e811162c16f
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: configurable columns and csv/json/xlsx export on the runs page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: quote formula-like values in the runs csv export
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: widen the runs table to its columns and skip obscured runs in exports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: clear a row-set trigger kind filter when another row filter is applied
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>