Commit Graph
60 Commits
Author SHA1 Message Date
Jocelyn Lin 99805d6ac2 chore: update agentflow workflow and add changelog (#6284)
* chore: update agentflow workflow and add changelog

- Enhanced the npm dist-tag description in the publish-agentflow.yml workflow to clarify options for development, pre-release, and stable versions.
- Introduced a new CHANGELOG.md file for the @flowiseai/agentflow package, documenting notable changes and adhering to the Keep a Changelog format.
- Updated README.md to reflect the current development status and features of the agentflow package, including detailed descriptions of functionalities and examples.

* update TESTS.md to include TipTap mock
2026-04-24 15:29:23 -07:00
yau-wd ec7a7f9ebe Chore update Node.js version to 20.20.2 in CI workflows (#6277)
chore: update Node.js version to 20.20.2 in CI workflows
2026-04-23 11:27:06 -07:00
Jocelyn Lin 5f85387e38 chore: update GitHub Actions dependency version (#6165)
- also fix a type error on agentflow example app
2026-04-06 17:30:17 -07:00
Jocelyn LinandClaude Opus 4.6 08e6a791c2 fix(ci): avoid workspace: protocol error in publish-agentflow workflow (#5946)
* fix(ci): avoid workspace: protocol error in publish-agentflow workflow

Use working-directory instead of pnpm exec for npm version, and
pnpm pack instead of pnpm exec npm pack, to avoid npm encountering
pnpm's workspace: protocol. Sort deps alphabetically in package.json
to prevent future noise from npm tooling.

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

* fix(ci): use npx semver + npm pkg set to avoid workspace: protocol error

npm version and pnpm version both fail in this monorepo because they
resolve the full dependency tree and choke on pnpm's workspace: protocol.
Replace with npx semver (compute version) + npm pkg set (write version).

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

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
2026-03-11 09:15:24 -07:00
Salman Chishti 3ad8a5a829 Upgrade GitHub Actions to latest versions (#5912)
Signed-off-by: Salman Muin Kayser Chishti <[email protected]>
2026-03-09 23:53:19 +08:00
Salman Chishti 18705402b6 Upgrade GitHub Actions for Node 24 compatibility (#5911)
Signed-off-by: Salman Muin Kayser Chishti <[email protected]>
2026-03-09 23:53:06 +08:00
Jocelyn Lin 09f2a15310 feat(workflow): add GitHub Actions workflow for publishing agentflow sdk (#5908)
* feat(workflow): add GitHub Actions workflow for publishing @flowiseai/agentflow

- Introduced a new workflow to handle version bumps and publishing of the @flowiseai/agentflow package.
- Supports various version bump types (prerelease, patch, minor, major, custom) and allows for custom version input.
- Includes a dry-run step to validate the version and simulate the publish process before actual deployment.
- Configured to use pnpm for dependency management and publishing tasks.

* chore(workflow): update permissions and add version bump commit step

- Changed permissions for the GitHub Actions workflow to allow write access for contents.
- Added a step to commit and push the version bump for the @flowiseai/agentflow package after publishing.

* chore(workflow): enhance version bump process with PR creation

- Added permission for pull-requests in the GitHub Actions workflow.
- Modified the version bump step to create a new branch and open a pull request after committing the version bump for the @flowiseai/agentflow package.

* address review comments
2026-03-05 10:27:36 -08:00
yau-wd 84758d794d Fix server Jest test structure and standardize test scripts (#5909)
* fix(server): restructure Jest tests and standardize test scripts

* chore(main.yml): run build before test
2026-03-05 18:18:18 +08:00
Jocelyn Lin 529459294a fix(workflow): enhance file change detection logic in proprietary-path-guard (#5907)
fix(workflow): enhance file change detection logic in proprietary-path-guard.yml

- Update the logic to fall back to default branch comparison when the before SHA is unreachable, ensuring robust detection of changed files during CI workflows.
2026-03-04 15:22:41 -08:00
Ilango ec767b1911 fix: validate mime type list when updating chatflow configuration (#5768)
* fix: validate mime type list when updating chatflow configuration

* fix: lint issues

* fix: code reviews
2026-02-26 14:58:57 +05:30
7a3b253eb7 Use AWS OIDC in prod to push images to ECR (#5784)
Co-authored-by: Natan Hoppe <[email protected]>
Co-authored-by: yau-wd <[email protected]>
2026-02-24 08:35:48 +08:00
Jocelyn LinandClaude Opus 4.6 280e3ef630 feat(agentflow): add test infrastructure and unit tests (#5749)
* feat(agentflow): add test infrastructure and unit tests

Add Jest test suite with coverage enforcement for @flowise/agentflow.
Includes 119 tests across core logic, API layer, search, and state
management. Fixes trailing-slash bug in getNodeIconUrl and extracts
reducer to its own module for cleaner separation.

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

* address gemini review comment

* fix lint errors

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
2026-02-13 13:36:56 -08:00
Jocelyn LinandClaude Opus 4.5 ddf1549389 Implement proprietary path guardrails in GitHub workflows and pre-push hooks (#5703)
* Implement proprietary path guardrails in GitHub workflows and pre-push hooks

- Added a GitHub Actions workflow to check for proprietary paths in pull requests and pushes.
- Introduced a pre-push hook to prevent pushing files from proprietary paths to the OSS repository.
- Updated .gitignore to restrict certain application paths and added comments for clarity.

* Add explicit permissions block to workflow

Limit GITHUB_TOKEN to read-only access for security best practices.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* Refactor pre-push hook to use grep pipeline

Replace per-file loop with efficient grep operations.
Removes is_proprietary function in favor of direct pattern matching.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* Fix pre-push hook grep pipeline for husky compatibility

Add || true to grep commands to prevent exit code 1 (no match)
from aborting the subshell when husky's set -e is active.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
2026-02-04 10:06:22 -08:00
christopherholland-workdayandyau-wd 729eb10016 Enforce pnpm >= 10.26.0 (#5688)
* Enforce pnpm >= 10.26.0

* Update package.json

* Update main.yml

* chore(CONTRIBUTING.md): update to reflect pnpm v10 upgrade

---------

Co-authored-by: yau-wd <[email protected]>
2026-02-03 17:04:35 +08:00
Henry Heng a7b6f9b208 Chore/split docker workflows (#5432)
* refactor: Split Docker image CI workflow into registry-specific workflows

* refactor: Split Docker image CI workflow into registry-specific workflows
2025-11-06 23:00:25 +00:00
Henry 24426266ba update issues templates 2025-06-23 19:17:44 +01:00
Henry Heng 2e42dfb635 Bugfix/Gemini Structured Output (#4713)
* fix gemini structured output

* update issues templates
2025-06-23 19:10:41 +01:00
Henry f50a817bf4 update issues templates 2025-06-22 15:48:02 +01:00
Henry Heng a107aa7a77 Chore/Update issue templates and add new tools (#4687)
* Enhancement: Update issue templates and add new tools

- Updated bug report template to include a default label of 'bug'.
- Updated feature request template to include a default label of 'enhancement'.
- Added new credential class for Agentflow API.
- Enhanced Agent and HTTP nodes to improve tool management and error handling.
- Added deprecation badges to several agent and chain classes.
- Introduced new tools for handling requests (GET, POST, DELETE, PUT) with improved error handling.
- Added new chatflows and agentflows for various use cases, including document QnA and translation.
- Updated UI components for better handling of agent flows and marketplace interactions.
- Refactored utility functions for improved functionality and clarity.

* Refactor: Remove beta badge and streamline template title assignment

- Removed the 'BETA' badge from the ExtractMetadataRetriever class.
- Simplified the title assignment in the agentflowv2 generator by using a variable instead of inline string manipulation.
2025-06-19 18:11:24 +01:00
Henry Heng 8ba1a09077 Bugfix/Update worker docker (#4643)
update worker docker
2025-06-12 17:25:43 +01:00
Henry 60b18353a7 update docker image yml 2025-05-29 18:43:23 +01:00
Henry Hengandchungyau97 5a37227d14 Chore/refractor (#4454)
* markdown files and env examples cleanup

* components update

* update jsonlines description

* server refractor

* update telemetry

* add execute custom node

* add ui refractor

* add username and password authenticate

* correctly retrieve past images in agentflowv2

* disable e2e temporarily

* add existing username and password authenticate

* update migration to default workspace

* update todo

* blob storage migrating

* throw error on agent tool call error

* add missing execution import

* add referral

* chore: add error message when importData is undefined

* migrate api keys to db

* fix: data too long for column executionData

* migrate api keys from json to db at init

* add info on account setup

* update docstore missing fields

---------

Co-authored-by: chungyau97 <[email protected]>
2025-05-27 07:29:42 +01:00
Henry Heng c96d634db2 Bugfix/update view message dialog (#3994)
* update view message dialog

* update lock file

* update github main action

* update github main action

* Update style.scss

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-06 11:05:06 +00:00
Saurav Maheshkar 55f52c4d50 feat(ci): enable pnpm caching in CI (#2530) 2024-06-04 02:57:07 +01:00
Octavian FlowiseAI ee9d3a33fa Update autoSyncMergedPullRequest.yml 2024-05-10 22:01:05 +02:00
Octavian FlowiseAI 32ad3b1366 Update autoSyncMergedPullRequest.yml 2024-05-10 20:50:36 +02:00
Henry ef532866fd add docker image CI workflow 2024-05-07 00:13:27 +01:00
IlangoandHenry f4c7887e50 Feature: define a custom error message for allowed domains (#2194)
* Add a field for custom error message in allowed domains configuration

* enhance UI for more consistency

* update pnpm version

* update pnpm version

---------

Co-authored-by: Henry <[email protected]>
2024-04-19 03:13:28 +01:00
Henry Heng d1c8f7eb96 Bugfix/Supabase Upserting (#2210)
* fix supabase upserting error

* fix supabase upserting error

* update pnpm to 9.0.3
2024-04-19 00:52:28 +01:00
Octavian FlowiseAI 713077381b Fix pnpm version for CI (#2204)
Update pnpm gh action to 9.0.2
2024-04-18 03:22:53 +02:00
Octavian FlowiseAI 5b0941e7d3 Pin the pnpm version 2024-04-17 00:27:01 +02:00
Octavian FlowiseAIandHenry 957694a912 feature: modularized express routes for reusability, testability, composability and performance (#2030)
* transition GET /api/v1/apikey

* transition POST /api/v1/apikey

* transition PUT /api/v1/apikey/:id

* transition DELETE /api/v1/apikey/:id

* Enable e2e tests for api/v1/apikey routes

* remove unused addChatflowsCount

* Enable e2e tests for api/v1/variables routes

* Enable Cypress in GitHub Action

* Update main.yml

* Update main.yml

* Transition GET /api/v1/variables

* Enable cypress on github workflow

* Transition POST /api/v1/variables

* Transition PUT /api/v1/variables

* Transition DELETE /api/v1/variables

* Transition GET /api/v1/variables

* Transition GET /api/v1/chatflows

* Transition GET /api/v1/chatflows/:id

* Transition POST /api/v1/chatflows

* Transition DELETE /api/v1/chatflows/:id

* Transition PUT /api/v1/chatflows/:id

* Transition GET /api/v1/chatflows/apikey/:apiKey

* Transition GET /api/v1/credentials

* Transition POST /api/v1/credentials

* Transition GET /api/v1/credentials/:id

* Transition PUT /api/v1/credentials/:id

* Transition DELETE /api/v1/credentials/:id

* Transition GET /api/v1/tools

* Transition GET /api/v1/tools/:id

* Transition POST /api/v1/tools

* Transition PUT & DELETE /api/v1/tools/:id

* Transition /api/v1/assistants routes

* Transition /api/v1/nodes routes

* Transition GET /api/v1/chatflows-streaming/:id & GET /api/v1/chatflows-uploads/:id

* wip-all-routes

* Transition GET /api/v1/public-chatflows/:id & /api/v1/public-chatbotConfig/:id

* Remove ts-ignore annotations

* Transition GET /api/v1/chatmessage/:id

* Transition POST /api/v1/chatmessage/:id

* delete /api/v1/chatmessage/:id

* transition /api/v1/feedback/:id routes

* transition /api/v1/stats/:id

* Transition GET /api/v1/openai-assistants/:id

* Transition GET /api/v1/openai-assistants

* Transition POST /api/v1/openai-assistants-file

* transition GET /api/v1/get-upload-path

* transition GET /api/v1/get-upload-file

* transition GET /api/v1/flow-config/:id

* transition POST /api/v1/node-config

* transition GET /api/v1/version

* transition GET /api/v1/fetch-links

* transition POST /api/v1/vector/upsert/:id

* transition POST /api/v1/vector/internal-upsert/:id

* transition POST /api/v1/load-prompt

* Update index.ts

* transition POST /api/v1/prompts-list

* transition predictions

* Update index.ts

* transition GET /api/v1/marketplaces/templates

* Router update modularity cleanup

* extend request interface - express namespace

* Update index.ts

* add errorMiddleware

* Add custom application error handler

* Fix pnpm lock file

* prediction return and vector upsert

* Move the getUploadsConfig into its own file

* Remove lint warnings

* fix undefined variable value

* Fix node-load-method api call

* standardize the error message display

* Apply review comment bugfixes

* Update index.ts

* standardize error message display  in snack notifications

* Error message standard in the UI

* Rename flowXpressApp to appServer

* Upload middleware fix and axios update

* fix async await

---------

Co-authored-by: Henry <[email protected]>
2024-04-02 16:44:04 +01:00
Octavian FlowiseAI ac02cde2fa Update autoSyncSingleCommit.yml 2024-03-18 13:43:48 +01:00
Octavian FlowiseAI 187d306653 Update autoSyncSingleCommit.yml (#1985) 2024-03-18 13:42:55 +01:00
Octavian FlowiseAI 50a2e911f2 Send valid JSON to autosync workflows for multi-line commit messages (#1981)
Allow multi-line commit message to be used in autosync workflows using the toJSON context function. The toJSON function is required to pretty-print JSON objects to the log.
2024-03-18 09:09:21 +01:00
Octavian FlowiseAI d437a6fb11 Enable github workflow pnpm caching 2024-03-15 08:51:01 +01:00
Ilango e3b5309855 Fix merge conflicts 2024-03-06 16:03:12 +05:30
Henry 2d6dcb3e82 Merge branch 'main' into feature/LlamaIndex
# Conflicts:
#	.github/workflows/autoSyncMergedPullRequest.yml
2024-01-25 19:16:20 +00:00
Octavian FlowiseAI 1104257720 yml linter fix 2024-01-25 04:01:10 +01:00
Octavian FlowiseAI 52f2471ebc Update autoSyncSingleCommit.yml - enable multi-line commitMessage 2024-01-25 03:55:35 +01:00
Octavian FlowiseAI 600f99aa95 Update autoSyncMergedPullRequest.yml
Use the pull_request_target event instead of pull_request since pull_request_target has access to the secrets.
2024-01-25 03:42:06 +01:00
Henry 8189f945cc Merge branch 'main' into feature/LlamaIndex
# Conflicts:
#	packages/components/nodes/agents/ConversationalAgent/ConversationalAgent.ts
#	packages/components/nodes/agents/ConversationalRetrievalAgent/ConversationalRetrievalAgent.ts
#	packages/components/nodes/agents/OpenAIAssistant/OpenAIAssistant.ts
#	packages/components/nodes/agents/OpenAIFunctionAgent/OpenAIFunctionAgent.ts
#	packages/components/nodes/chains/ConversationChain/ConversationChain.ts
#	packages/components/nodes/chains/ConversationalRetrievalQAChain/ConversationalRetrievalQAChain.ts
#	packages/components/nodes/memory/BufferMemory/BufferMemory.ts
#	packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts
#	packages/components/nodes/memory/ConversationSummaryMemory/ConversationSummaryMemory.ts
#	packages/components/nodes/memory/DynamoDb/DynamoDb.ts
#	packages/components/nodes/memory/MongoDBMemory/MongoDBMemory.ts
#	packages/components/nodes/memory/MotorheadMemory/MotorheadMemory.ts
#	packages/components/nodes/memory/RedisBackedChatMemory/RedisBackedChatMemory.ts
#	packages/components/nodes/memory/UpstashRedisBackedChatMemory/UpstashRedisBackedChatMemory.ts
#	packages/components/nodes/memory/ZepMemory/ZepMemory.ts
#	packages/components/src/utils.ts
#	packages/server/marketplaces/chatflows/Long Term Memory.json
#	packages/server/src/index.ts
#	packages/server/src/utils/index.ts
2024-01-24 03:00:31 +00:00
Octavian FlowiseAI 764efcccb7 Update autoSyncSingleCommit.yml 2024-01-22 10:09:19 +01:00
Octavian FlowiseAI fb2e6a0e08 Update autoSyncSingleCommit.yml
- send single commit message
2024-01-22 10:08:29 +01:00
Octavian FlowiseAI ddab853cfd Update autoSyncMergedPullRequest.yml
- send pr title
- send pr description
2024-01-22 09:57:01 +01:00
Octavian FlowiseAI d2e6b094f6 Update autoSyncMergedPullRequest workflow flags 2024-01-19 23:20:50 +01:00
Octavian Cioaca d02b5a8988 Add autoSync github workflows 2024-01-18 01:47:33 +01:00
Henry 4e3f219e2d update readme and vite port 2023-11-27 12:24:11 +00:00
Greg L 35ad74f8a3 - Updated workflow and pre-commit to work with PNPM, modified package.json to preinstall PNPM only. 2023-11-23 13:33:52 -05:00
Henry Heng bee16d4982 Update FUNDING.yml 2023-06-21 19:29:32 +01:00