fb12f31df2
feat(trigger): system variables for trigger nodes
...
Added a timestamp field to the SystemVariable model and updated the WorkflowAppRunner to include the current timestamp during execution. Enhanced node type checks to recognize trigger nodes in various services, ensuring proper handling of system variables and node outputs in TriggerEventNode and TriggerScheduleNode. This improves the overall workflow execution context and maintains consistency across node types.
2025-10-29 18:10:38 +08:00
d37cc9f9c8
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-29 15:16:28 +08:00
5ab315aeaf
fix: set conditional capabilities upon MCP client session initialization ( #26234 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com >
2025-10-29 15:11:45 +08:00
dfc5e3609d
refactor(trigger): streamline OAuth client existence check
...
Replaced the method for checking the existence of a system OAuth client with a new dedicated method `is_oauth_system_client_exists` in the TriggerProviderService. This improves code clarity and encapsulates the logic for verifying the presence of a system-level OAuth client. Updated the TriggerOAuthClientManageApi to utilize the new method for better readability.
2025-10-29 14:22:56 +08:00
b41538d8c7
feat(trigger): reinforcement schedule trigger debugging with cron calculation
...
- Implemented a caching mechanism for schedule trigger debug events using Redis to optimize performance.
- Added methods to create and manage schedule debug runtime configurations, including cron expression handling.
- Updated the ScheduleTriggerDebugEventPoller to utilize the new caching and event creation logic.
- Removed the deprecated build_schedule_pool_key function from event handling.
2025-10-28 23:34:08 +08:00
18fd79fbe6
feat(trigger): add event_name to PluginTriggerMetadata for enhanced trigger handling
...
- Introduced event_name attribute in PluginTriggerMetadata to improve metadata clarity.
- Updated dispatch_triggered_workflow function to include event_name when dispatching triggered workflows.
2025-10-28 18:32:06 +08:00
c16421df27
refactor: improve trigger metadata handling and streamline workflow service
...
- Updated ScheduleTriggerDebugEventPoller to include an empty files list in workflow_args.
- Enhanced WorkflowAppService to handle trigger metadata more effectively, including a new method for processing metadata and removing the deprecated _safe_json_loads function.
- Adjusted PluginTriggerMetadata to use icon_filename and icon_dark_filename for better clarity.
- Simplified async workflow task parameters by changing triggered_from to trigger_from for consistency.
2025-10-28 17:50:06 +08:00
0d686fc6ae
refactor: streamline trigger event node metadata handling and update async workflow service for JSON serialization
...
- Removed unnecessary input data from the TriggerEventNode's metadata.
- Updated AsyncWorkflowService to use model_dump_json() for trigger metadata serialization.
- Added a comment in WorkflowAppService to address the large size of the workflow_app_log table and the use of an additional details field.
2025-10-28 17:50:06 +08:00
c4996f9563
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-28 11:28:06 +08:00
543c5236e7
refactor:Decouple Domain Models from Direct Database Access ( #27316 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-28 09:59:30 +08:00
f01907aac2
fix: knowledge sync from website error ( #27534 )
2025-10-28 09:46:33 +08:00
d9860b8907
fix(api): Disable SSE events truncation for service api ( #27484 )
...
Disable SSE events truncation for service api invocations to ensure backward compatibility.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-27 21:15:44 +08:00
0ded6303c1
feat: implement MCP specification 2025-06-18 ( #25766 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 17:07:51 +08:00
1335be8d60
Revert "feat: propagate trigger metadata for plugin icons across UI"
...
This reverts commit 3bd62f3fdf .
2025-10-27 17:06:40 +08:00
c79d75b32d
Revert "fix: display plugin trigger labels in logs using i18n metadata"
...
This reverts commit 651cc81cfe .
2025-10-27 17:06:35 +08:00
f18054847e
Revert "fix: workflow_trigger"
...
This reverts commit cc219cc81c .
2025-10-27 17:06:30 +08:00
ae422c2628
fix(trigger): simplify return logic in TriggerProviderService by removing unnecessary None return
2025-10-26 23:48:50 +08:00
cc219cc81c
fix: workflow_trigger
2025-10-25 14:21:52 +08:00
651cc81cfe
fix: display plugin trigger labels in logs using i18n metadata
2025-10-25 12:41:37 +08:00
3bd62f3fdf
feat: propagate trigger metadata for plugin icons across UI
2025-10-25 12:15:21 +08:00
4597ab4efb
Merge branch 'refs/heads/main' into feat/trigger
2025-10-24 14:44:15 +08:00
634fb192ef
fix: remove unnecessary Flask context preservation to avoid circular import in audio service ( #27380 )
2025-10-24 10:41:14 +08:00
c3eec7ea8a
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-24 09:47:28 +08:00
8ff6de91b0
Fix UpdatedVariable truncation crash ( #27359 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-10-23 23:18:20 +08:00
ecd1d44d23
chore: update trigger dsl version to 0.5.0
2025-10-23 15:05:39 +08:00
6e7fb59638
Merge branch 'feat/plugin-readme' into feat/trigger
...
# Conflicts:
# api/controllers/console/workspace/plugin.py
# api/core/plugin/entities/plugin_daemon.py
2025-10-23 12:10:44 +08:00
863b4f8fe9
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-23 11:54:35 +08:00
2d73ee64a3
Refine variable truncator type hints ( #27220 )
2025-10-22 17:08:55 +08:00
df9932088f
avoid time slice strategy in community edition
2025-10-22 12:50:11 +08:00
845adb664a
knowledge-pipeline-for-enterprise ( #27240 )
2025-10-22 10:29:27 +08:00
3d5e2c5ca1
feat(trigger): add suspend/timeslice layers and workflow CFS scheduler
...
- add suspend, timeslice, and trigger post engine layers
- introduce CFS workflow scheduler tasks and supporting entities
- update async workflow, trigger, and webhook services to wire in the new scheduling flow
2025-10-21 19:20:54 +08:00
caf1a5fbab
Fix variable truncator handling for UpdatedVariable ( #27197 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-21 16:23:17 +08:00
2bcf96565a
Feature:during account initialization, set the interface language to be consistent with the display language( #27029 ) ( #27042 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-21 15:53:12 +08:00
05f66fcf0d
remove built-in pipeline template user field ( #27184 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 15:30:58 +08:00
759a932bb7
Fix: release WorkflowTool database sessions promptly ( #26893 )
2025-10-21 15:17:17 +08:00
6251090893
Merge remote-tracking branch 'origin/feat/trigger' into feat/trigger
2025-10-21 14:39:10 +08:00
aa5e04b70e
Merge branch 'main' into feat/trigger
...
# Conflicts:
# web/app/components/workflow/hooks-store/store.ts
# web/package.json
# web/pnpm-lock.yaml
2025-10-21 14:36:07 +08:00
8ac25c29ee
feat(trigger): implement subscription refresh logic with enhanced error handling and logging
2025-10-21 14:11:27 +08:00
32c715c4d0
rm type ignore ( #25715 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-10-21 11:26:58 +08:00
f02d575379
Merge branch 'main' into feat/trigger
2025-10-21 11:09:26 +08:00
24619e74f6
fix(trigger): update error handling and credential expiration field
2025-10-20 20:02:12 +08:00
538b639bef
fix: unify trigger url generation
2025-10-20 15:34:51 +08:00
2382229c7d
fix variable-truncator max size comments ( #27129 )
2025-10-20 14:52:40 +09:00
4dccdf9478
Ensure suggested questions parser returns typed sequence ( #27104 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-20 13:01:09 +08:00
578247ffbc
feat(graph_engine): Support pausing workflow graph executions ( #26585 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-10-19 21:33:41 +08:00
9a5f214623
refactor: replace localStorage with HTTP-only cookies for auth tokens ( #24365 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com >
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <wylswz@163.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: GareArc <chen4851@purdue.edu >
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: Davide Delbianco <davide.delbianco@outlook.com >
Co-authored-by: minglu7 <1347866672@qq.com >
Co-authored-by: Ponder <ruan.lj@foxmail.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: heyszt <270985384@qq.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Guangdong Liu <liugddx@gmail.com >
Co-authored-by: Eric Guo <eric.guocz@gmail.com >
Co-authored-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: XlKsyt <caixuesen@outlook.com >
Co-authored-by: Dhruv Gorasiya <80987415+DhruvGorasiya@users.noreply.github.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: hj24 <mambahj24@gmail.com >
Co-authored-by: GuanMu <ballmanjq@gmail.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Tonlo <123lzs123@gmail.com >
Co-authored-by: Yusuke Yamada <yamachu.dev@gmail.com >
Co-authored-by: Novice <novice12185727@gmail.com >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: Ademílson Tonato <ademilsonft@outlook.com >
Co-authored-by: znn <jubinkumarsoni@gmail.com >
Co-authored-by: yangzheli <43645580+yangzheli@users.noreply.github.com >
2025-10-19 21:29:04 +08:00
c7696964b9
fix: refine
2025-10-18 20:27:22 +08:00
fb8ecf7b5a
refactor: move out enums to specific file
2025-10-18 20:22:21 +08:00
e3c2345b21
fix: typing
2025-10-18 20:17:23 +08:00
bfe0d14409
fix: typing
2025-10-18 20:16:10 +08:00