29 Commits
Author SHA1 Message Date
j-sanaa 06ce2c0027 Fix (Agentflow) Remove changeset:publish from dependency (#6356)
* Remove publish from dependency

* Revert changes to pnpm-lock file
2026-05-08 10:44:18 -07:00
j-sanaa 0e9c59f5b3 feat - Add changesets for agentflow and observe packages (#6350)
* add changeset

* Add changeset summary

* Release packages with changeset compatible workflow

* Remove changes to new workflow

* Remove now change file and pre.json
2026-05-06 14:38:13 -07:00
j-sanaa 4b17501976 Feat(agentflow) Node version detection and version upgrade support (#6347)
* Implement Node versioning

* Add new example for showing outdated versions

* Remove header sync button

* Test changes

* ix lint error

* Fix gemini comments

* Udpate example to show no verison, outdated and correct version

* Add Sync as a FAB button

* Increase test coversge

* Add 2 sceaniors to exampels to make it clearer

* Fix gemini comments

* Fix review comments

* Fix review comments
2026-05-06 10:08:14 -07:00
j-sanaa e19105c5f3 Fix/agentflow add pending test cases for loop node (#6338)
* Fix iteration node

* Test change

* Fix node deletion

* Pending test cases added

* Revert changes made to add freeSolo

* Fix gemini comment
2026-05-04 17:33:06 -07:00
j-sanaa 014d35ce20 Fix(agentflow) - Add iteration node full functionality (#6324)
* Fix output node not selectable

* Fix highlight color

* Fix previous node displaying label and not ID

* Fix tool arguements not being called

* Fix dropdown values to not be bold

* Add standard sizing for all input text

* FIx syntax highlighting styling

* Use predefined tokens for font weight and size

* Fix dialog size of Source

* Fix color of syntax highlight in dark mode

* Fix the input fileds color in dark and regular mode

* Fix gemini comments

* FIx inconsistent spacing

* Standardise gap between label and field

* Remove export for unused function and standardize dialog size accrosss code, rich text,
  and source

* Fix test error

* Fix opening node editing dialog on iteration node

* Untested change

* Add {{iteration}} variable

* Add node execution status to Iteration node

* Fix delete iteration node

* stream iteration node results incrementally when it is the terminal node

* Add test cases

* Fix edit color in dark mode and gemini comments

* Fix lint warnings

* Fix review comment - Add iterationEdge z-index value to tokens

* keep succesful and error messages in content

* Add removed comment

* Remove changes to server code in this PR
2026-05-01 14:33:57 -07:00
j-sanaaandClaude Sonnet 4.6 80859b201e feat(agentflow): add node execution visualization with HITL support (#6312)
* Integrate executuons API

* Fix Status indicators example to use AgetnContext

* Fix styling of HITL pause icon

* Tet changes for node executiom

* Fix lint error

* Chat panel implementation

* Import functionality from v2

* Fix proxy issues for chat

* Fix styling of chat

* Split out chat panel changes — execution UI only

Remove TestFlowDialog, TestFlowButton container, chat avatars, react-markdown/remark-gfm/fetch-event-source deps, uuid/fileMock mocks, and related vite proxy changes. These belong to feat-agentflow-chatpanel which will be opened on top of this branch.

Restore StyledFab to node-palette, restore old TestFlowButton component, and revert Agentflow.tsx/canvas index to pre-chat state so this branch contains only the node execution status UI work.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* chore(agentflow): remove TestFlowButton placeholder from execution branch

TestFlowButton belongs to the chat panel PR. Removing the placeholder
component, its exports, and its usage in Agentflow.tsx so this branch
contains only execution UI work.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* Add test changes

* FIx gemini comments

* Add dark mode toggle

* Remove Execution API references

* Update E2E to stream API responses

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
2026-04-30 08:18:57 -07:00
j-sanaa 3d69baed40 Fix/agentflow Fixing agentflow UI style and make it similar to v2 (#6280)
* Fix output node not selectable

* Fix highlight color

* Fix previous node displaying label and not ID

* Fix tool arguements not being called

* Fix dropdown values to not be bold

* Add standard sizing for all input text

* FIx syntax highlighting styling

* Use predefined tokens for font weight and size

* Fix dialog size of Source

* Fix color of syntax highlight in dark mode

* Fix the input fileds color in dark and regular mode

* Fix gemini comments

* FIx inconsistent spacing

* Standardise gap between label and field

* Remove export for unused function and standardize dialog size accrosss code, rich text,
  and source

* Fix test error
2026-04-27 09:15:16 -07:00
j-sanaa 0fc44e6b0e Fix(agentflow) - Fix z-index for validation button (#6238)
* Fix z-index for validation

* Reverting changes to ValidationFeedback.tsx

* Use tokens for z index
2026-04-16 16:23:07 -07:00
j-sanaa 11a9c924a2 Fix/agentflow Fixed theming for dark mode in agentflow (#6234)
* To highlight input fiels in dark mode

* Fix background color of edit node dialog

* Fix background color for input messages field

* Fix Message container

* Fix border container color

* Make token be referenced by name

* Revert changes to server file

* Fix gemini comments
2026-04-16 09:53:49 -07:00
j-sanaa dddfb3c90e Fix/agentflow - Fixes for minor UI issues in extracted canvas (#6190)
* Fix c=incorrect color for edit nodes

* Fix to ensure all input fields have same width

* Fix accordian having an extra line

* Fix gemini comment

* Test fix
2026-04-10 16:41:40 -07:00
j-sanaa 6ad18cc6b4 Fix/agentflow Integration and verification test fixes (#6175)
* Fix JSON inout button not appearing

* Fix to display icons for vector embeddings and tools in Agent node

* Add variable syntax support to condition node

* Clear out existing values when operation is changed in Condition node

* Loop node  to show ancestral nodes

* Fix position and styling of "See Example"

* Refactor AsyncInput to remove duplicate logic

* Fix gemini comments

* Addressed review comments
2026-04-09 15:49:00 -07:00
j-sanaa e2ecc0b0a6 Fix/agentflow Add support for XML tag in markdown input and render markdown conditionally (#6145)
* Changes to limit markdown

* Remove extra content

* Test changes

* Add support to escape XML tags

* FIx lint errors

* Revert changes to server file

* Fix Gemini comments

* Fix gemini comments

* Refactor to remove duplicated logic
2026-04-06 11:52:25 -07:00
j-sanaa 56f272a476 Feat/agentflow Port Markdown Editor & Edit/Source Toggle from legacy UI to agentflow (#6125)
* Initial flow

* Fix markdown import shape

* Add support to check for HTML or markdown

* Fix values not being persisted

* Make implementation similar to v2

* Add vairable syntax support to expandDialog

* Add variable syntax support to messageInput

* Test cases added

* Remove eslint-disable

* Add getHtml as a fallback

* Fixed gemini comments

* Fix test cases and lint warnings

* Fixed editorUtils.test to not have nested structure

* Fix review comments
2026-04-02 15:15:17 -07:00
j-sanaa e2351c5821 Feat/agentflow add support for Variable System & Syntax Support (#6067)
* Initial flow

* Add tiptap - mention dependency similar to v2

* Add functionalities similiar to V2

* update to tiptap to 3.20.4

* Fix lint error

* Added missiing test cases for new files

* Styling changes

* InputMessage should be visible on initial load

* Fix gemini comment

* Remove outdated SelectVariable

* Add icon support similar to v2

* Fix gemini comments

* Remove input folder and utils folder under atoms

* Fix test error

* Fix initlalDefualts not being set

* Fix after merge with main

* Fixes for review comments

* Fix review comments

* New test cases added for fixes

* Remove additional space
2026-03-31 14:15:52 -07:00
j-sanaa c6062d7fed Fix/agentflow fix field name mismatch between SDK internal representation and server expectation (#6092)
* Intial changes

* Test changes

* Fix gemini suggestion

* revert changes to RichTextEditor

* Changes to create a common base class for NodeData and NodeDataBase

* Fix TS error

* Revert all changes to RichTextEditor

* Fixed comments in nodeFactory.ts

* Remove migration code

* Removed unwanted change in behaviour

* Remove all changes to RichTextEditor and test

* Rename NodeDataBase to NodeDataSchema
2026-03-30 17:57:59 -07:00
j-sanaa 02813aa703 Feat/agentflow Add support for create credential (#6048)
* Initial flow

* Fix styling to look the same as v2

* Add new atoms - SwitxhInput, Dropdown and ToolTipWithParser similar to v2

* Add test cases for all changes

* Refactor input default value handling and consolidate utility functions

* Allow imports from utils for atoms

* Fix gemini comments

* Fixed buold issues

* FIx styling and create credentiall behavior

* Add support for edit credentials

* Fix bug to display tool and vector embeddign parameters

* Add CredentialTypeSelector for HTTP node

* Fix to add falback icon in case of error

* Move inputDefaults under core/primitives

* Added fix to check if all mandatory fields have value before submittign a credential

* Fix new credential not being selected on creating

* Fixes made to address comments

* Gemini comment fix

* Fix test error by adding theme

* Refactor getDefaultValueForType to remove null/undefined handling

* Fixed getDefaultValueForType to be generic

* Fixed getDefaultValueForType to take single destructured object parameter
2026-03-25 15:00:22 -07:00
j-sanaa 03a0cf6b3f Feat/agentflow Add JSON, code, and SelectVariable input types to NodeInputHandler (#6016)
* Initial flow

* enhance JSON input handling with dialog support and improve variable selection UI

* Fix syntax highlighting bug

* Added test cases

* Fix gemini comments

* lock file fix

* Build error

* Test fix

* Remove 'inputs' folder under atoms and move all components directly under atoms/
2026-03-19 14:23:12 -07:00
j-sanaa 6d1eeb8e97 feat(agentFlow) - Add support for listFlows (#6005)
* Add support for listFlows

* Fix gemini comments
2026-03-18 10:12:32 -07:00
j-sanaa 07e7604af5 Feat/agentflow Support for Additional Load Methods (#6003)
* Generate itemKeys synchronously

* Support for listActions and listTables

* Have generic fallback method for loadMethods which are not registered

* Fix comments

* Fix text error
2026-03-17 16:52:15 -07:00
j-sanaa e39b9ff037 fix (AgentFlow) - generate ArrayInput item keys synchronously to prevent missing React keys (#6001)
* Fix to remove useEffect

* Fix gemini comment
2026-03-17 13:12:19 -07:00
j-sanaa d9b683d42f Fix/agentflow model parameters (#5967)
* Initial flow

* Add support for listRegions api endpoint

* Added support for loading credentials in model parameters

* Call the right end point for model under model parameters

* Fix model parameters data re rendering on each key stroke

* Fix gemini comments

* Fixed review comments
2026-03-16 14:27:55 -07:00
j-sanaa 9d075343ce Fix/agentflow multiOptions rendering (#5964)
* added support fo multi options

* add support for store amad embeddings api

* Changed naming of all apiClients to be consistent

* Add correct index to ArrayInput

* Log error when parsing multiOptions value fails

Add error logging for failed parsing of multiOptions value.

* Fix error handling
2026-03-13 09:27:02 -07:00
j-sanaaandgemini-code-assist[bot] 0973446cfa Feat/agentflow async input handlers (#5956)
* initial flow

* Removed unused imports

* fix endpoint for chatModels from 'assistants/components/chatmodels' to '/node-load-method/agentAgentflow'

* Remove unused param

* Added functionality for icons

* Fixed api return type of chatmodel

* Fix lnit error

* Improve test coverage

* Update packages/agentflow/src/features/node-editor/AsyncInput.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Routing requests to agentAgentFlow or toolAgentFlow correctly

* Fix tools input error

* Fix test coverage

* encode parameters

* Add asyncOptions/asyncMultiOptions visibility re-evaluation tests

* fix build error

* Revert changes to serrings.json

* delete newly added file

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-12 11:28:20 -07:00
j-sanaa 20eac8f1ec feat(agentflow) Create Async Data Fetching Infrastructure in agentflow (#5937)
* initial flow

* Fixed  export types and added example application to test end to end flow

* Fix build errors

* fix gemini comments

* Test bug fix

* Fixed comments

* Removed API inspector example

* Refactor imports in index.ts for clarity

* Refactor exports and update type definitions

* Remove empty line in index.ts

Removed an empty line for cleaner code formatting.
2026-03-10 17:17:04 -07:00
j-sanaa a2451e2609 feat(agentflow) - create array input component and add test cases (#5887)
* feat(agentflow): Add array input component with field visibility

- Add ArrayInput component for managing lists of structured data

- Implement field visibility engine with show/hide conditions

- Add minItems constraint support for array inputs

- Add comprehensive test coverage for ArrayInput and EditNodeDialog

- Update NodeInputHandler to support array type inputs

- Update types to include array-related input parameters

* Move show/hide field logic into EditNodeDialog

* FIx build issue

* Fix gemini comments

* Fix comments

* Lint error fix
2026-03-06 14:20:21 -08:00
j-sanaa 86ac9f6220 Fix(agentflow): fix duplicate and drag bug and make behavior similar to v2 (#5850)
* Fix duplicate and drag bug

* Fix position of duplicate ndoe to same as v2

* enhance duplicateNode functionality with unique ID generation and position adjustments similar to v2

* enhance deleteNode functionality to clean up connected inputs and remove descendants

* Revert changes to deleteNode

* Modify tests to have a nested structure rather than a flat one
2026-02-27 09:38:39 -08:00
j-sanaaandgemini-code-assist[bot] df5507ce36 feat(agentFlow): Fix duplicate node and add test cases for delete and duplicate nodes (#5840)
* Test cases added for delete node

* Fix incorrect node id being assigned to duplicate node

* Test cases added for duplicate node

* Fix for bug FLOWISE-257

* lint errors fix

* Fix gemini comments

* FIx comment

* Apply suggestion from @gemini-code-assist[bot]

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix lint error

* Fixed review comments

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-25 09:17:22 -08:00
j-sanaa 5cc657b900 refactor(agentflow): Simplify ReactFlow and Context state sync (#5827)
* Fix biderectional sync

* addede utility function to sync states

* Fix comment

* Normalize nodes before updating states
2026-02-23 16:55:09 -08:00
j-sanaa d09387bc4f feat(agentflow): wire functionality to edit nodes (#5786)
* WIP: wiring editnode

* End to end flow

* Fixed comments

* test case added for agent flow reducer

* FIxed changes after syncing with main

* Changes to uodate interface NodeData to be in line with restapi response api/v1/nodes

* Fixed es-lint errors

* Clean code

* Fix for making failed testcase

* eslint error fixed

* fix test coverage

* Revert config.ts and vite.config.ts to main

* Fix gemini comments

* Update imports to use alias

* fix alias
2026-02-20 17:17:48 -08:00