Commit Graph

93 Commits

Author SHA1 Message Date
CaptainB c506a23157 feat: add StoreKnowledge API to fetch Appstore tools and update routing 2025-12-23 18:30:05 +08:00
zhangzhanwei fe004c235c feat: Support folder sort
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-12-19 17:32:20 +08:00
CaptainB 433f0b1ca0 fix: Remove debug print statement from ToolSerializer
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-04 21:30:50 +08:00
CaptainB b10ce2296b fix: Update tool_type assignment in ToolSerializer to use tool_data value 2025-12-04 21:30:10 +08:00
CaptainB cec3381954 fix: Update tool_type assignment in ToolSerializer to use instance value 2025-12-04 21:21:53 +08:00
liqiang-fit2cloud f8ada9a110 refactor: remove init parameter from class ToolExecutor. 2025-12-04 15:40:50 +08:00
shaohuzhang1 bfae088df6
feat: knowledge workflow (#4399)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
* feat: init knowledge workflow

* feat: add knowledge workflow and version models, serializers, and API views

* feat: knowledge workflow

* feat: knowledge workflow

* feat: add KnowledgeWorkflowModelSerializer and Operate class for workflow management

* fix: route

* feat: knowledge workflow

* feat: Knowledge workflow permission

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Data source web node

* fix: Back route

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Knowledge write node

* feat: add Data Source tool functionality and localization

* feat: add Data Source tool functionality and localization

* feat: knowledge workflow

* feat: knowledge workflow

* fix: simplify export tool permission check in ToolListContainer.vue

* fix: simplify export condition in ToolResourceIndex.vue

* fix: simplify condition for copying tool in ToolListContainer

* feat: knowledge workflow

* fix: Upload local files and add output fields

* feat: Knowledge write

* feat: add Document Split Node functionality and localization

* feat: add Document Split Node functionality and localization

* feat: Knowledge write

* feat: enhance Document Split Node with result processing and problem list generation

* fix: Allow problem be blank

* feat: enhance Document Split Node with result processing and problem list generation

* feat: tool datasource

* fix: Optimization of knowledge base workflow execution logic

* refactor: streamline image handling by updating application and knowledge ID management

* refactor: streamline image handling by updating application and knowledge ID management

* feat: extend support modes in variable aggregation node to include knowledge workflows

* feat: Chunks stored

* refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic

* refactor: update file ID assignment in document extraction to use provided metadata

* feat: Workflow menu that distinguishes between applications and knowledge bases

* refactor: update file ID assignment in document extraction to use provided metadata

* fix: Add workspace ID as workflow execution parameter

* feat: add code template for Data Source tool form functionality

* refactor: remove unused sys import and improve module handling

* feat: Execution details support loading status

* refactor: update tool type handling and improve category merging logic

* feat: Alter fork depth

* fix: ensure filterList is properly initialized and updated in getList function

* refactor: simplify ToolStoreDialog by removing unused toolType logic

* perf: Optimize the style

* style: adjust div width for improved layout in Tree component

* refactor: improve polling mechanism for knowledge workflow action

* fix: Get workspace_id from workflow params

* fix: filter out 'file_bytes' from result in get_details method

* feat: add recursive filtering for file_bytes in context data

* fix: append results to paragraph_list instead of replacing it

* perf: Optimize translation files

* fix: include document name in bytes_to_uploaded_file call for better file handling

* refactor: optimize buffer retrieval in document processing

* refactor: remove redundant parameter from bytes_to_uploaded_file call

* fix: Page style optimization

* feat: add slider for setting limit in document rules form

* feat: add workflow knowledge management endpoints and related functionality

* fix: swap file size and file count limits in form inputs

* refactor: update tool_config args to use list format for improved readability

* feat: Node supports knowledge base workflow

* feat: Node supports knowledge base workflow

* fix: Basic node data cannot be obtained in the workflow

* style: Knowledge base workflow debugging page style adjustment

* fix: Loop nodes cannot be used in the knowledge base workflow

* fix: Knowledge base workflow variable assignment node

* feat: add chunk size slider to form for custom split strategy

* fix: Workflow style optimization

---------

Co-authored-by: CaptainB <bin@fit2cloud.com>
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-11-28 15:38:20 +08:00
fit2cloudzhao 2cdd42ccd3 fix: Fix the non-empty check of the tool input parameters 2025-11-26 11:42:19 +08:00
liqiang-fit2cloud eb30b88d10 refactor: remove MAXKB_SANDBOX_PYTHON_BANNED_KEYWORDS.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-24 18:42:06 +08:00
zhangzhanwei 05e0f2ab5c fix: Get tool error 2025-10-15 11:04:55 +08:00
zhangzhanwei 9a8c8cc7d5 feat: The folder creator manages permissions and the root directory displays all resources 2025-10-15 10:45:54 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00
CaptainB 54eb60d2c4 fix: handle all exceptions in fetch toolstore tools error logging 2025-09-29 14:51:55 +08:00
CaptainB e443f31cc5 feat: conditionally validate MCP transport based on tool type
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1062394 --user=刘瑞斌 【工具】启用、禁用工具失败 https://www.tapd.cn/62980211/s/1780683
2025-09-28 19:29:51 +08:00
CaptainB df442272e9 feat: add MCP transport validation to ToolExecutor 2025-09-28 15:33:25 +08:00
CaptainB fc05d26eaf feat: add TestConnection API endpoint and corresponding frontend functionality 2025-09-25 12:05:21 +08:00
CaptainB e2314360e9 fix: update tool name assignment to use instance data in tool and shared_tool modules
--bug=1061891 --user=刘瑞斌 【工具】从工具商店创建的工具,修改名称后添加还是显示的默认名称 https://www.tapd.cn/62980211/s/1774595
2025-09-17 13:00:30 +08:00
CaptainB b3073c8aad refactor: remove unused tool name assignment in tool and shared_tool modules
--bug=1061891 --user=刘瑞斌 【工具】从工具商店创建的工具,修改名称后添加还是显示的默认名称 https://www.tapd.cn/62980211/s/1774595
2025-09-17 12:57:54 +08:00
CaptainB bd668e7e2a feat: handle empty store tools in ToolStoreDialog 2025-09-12 11:18:14 +08:00
CaptainB e988cbca91 feat: add Appstore tool retrieval and store tool API endpoint 2025-09-09 15:08:33 +08:00
CaptainB d5d962c53d chore: enhance tool query to include user nickname
--bug=1061299 --user=刘瑞斌 【工具】编辑工具后,工具的创建者不显示了,刷新可恢复正常 https://www.tapd.cn/62980211/s/1766692
2025-09-03 15:07:14 +08:00
CaptainB f1356e9b61 feat: add MCP tool support with new form and dropdown options 2025-08-12 10:41:42 +08:00
liqiang-fit2cloud 154fd5e52b refactor: change dir permission. 2025-08-08 18:39:43 +08:00
liqiang-fit2cloud ce52ee3ca7 refactor: change dir permission. 2025-08-08 18:02:10 +08:00
shaohuzhang1 44645734f5
fix: There is a tool node in the application - the tool node has startup parameters - after importing, the tool should be disabled (#3821) 2025-08-05 17:30:36 +08:00
CaptainB 651b96dbb5 fix: add update_time field to edit_dict for tracking modification time
--bug=1059909 --user=刘瑞斌 【资源管理】工具列表-编辑并保存工具后,工具的更新时间依然展示原来的时间 https://www.tapd.cn/62980211/s/1746435
2025-07-31 14:55:54 +08:00
liqiang-fit2cloud 18c0be36a6 refactor: disable pylint output log to console. 2025-07-21 15:35:13 +08:00
CaptainB f385bb3aec refactor: rename validation method to follow naming conventions 2025-07-16 16:42:26 +08:00
CaptainB 48959a1e77 feat: add optional folder_id to tool import functionality 2025-07-14 16:06:26 +08:00
shaohuzhang1 bc350c2eb2
fix: Tool permission settings (#3553) 2025-07-10 20:50:22 +08:00
shaohuzhang1 4f4565f85b
fix: Shared workspace permission control error (#3548) 2025-07-10 16:45:13 +08:00
shaohuzhang1 3450ef78a4
fix: Application import and export (#3538) 2025-07-09 21:34:41 +08:00
CaptainB 3eb5a49e63 chore: update query filters to use case-insensitive containment for name and description
--bug=1058435 --user=刘瑞斌 【工具】工具名称搜索不支持忽略大小写 https://www.tapd.cn/62980211/s/1726980
2025-07-09 17:50:00 +08:00
CaptainB f0903ac309 refactor: enhance ToolTreeSerializer query parameters 2025-07-09 11:16:59 +08:00
CaptainB 4eda4a0d1b feat: add scope parameter to ToolTreeSerializer and update get_tools method 2025-07-09 10:59:12 +08:00
CaptainB 4be308078b refactor: remove redundant validation logic from tool serializer
--bug=1058282 --user=刘瑞斌 【工具】在工具模块,添加工具商店中的mysql查询工具,报错:Tool id does not exist https://www.tapd.cn/62980211/s/1725592
2025-07-08 16:15:56 +08:00
CaptainB 8465ac67f0 feat: add workspace validation to tool ID checks in serializers 2025-07-08 12:47:53 +08:00
CaptainB ef51afb96e refactor: filter folder query set by create_user for improved consistency 2025-07-04 18:31:57 +08:00
CaptainB d7b4f90798 refactor: update parameter initialization in getList functions for improved clarity
--bug=1058075 --user=刘瑞斌 【知识库】社区版、企业版、专业版搜索框切换完搜索字段后点击知识库文件夹提示必须是一个有效的uuid https://www.tapd.cn/62980211/s/1723617
2025-07-04 15:43:24 +08:00
CaptainB f186b25afe refactor: streamline permission handling and remove unused cache logic in tool management 2025-07-03 17:16:16 +08:00
CaptainB c8d901ba4d refactor: use consistent tool ID generation and add automatic permission assignment for tool creators 2025-07-03 17:11:41 +08:00
CaptainB e0075c3dd5 refactor: update default icon path in tool models and related logic 2025-07-03 15:20:48 +08:00
shaohuzhang1 df49c5ba5c
fix: Automatic authorization for resource creation (#3464) 2025-07-03 14:46:55 +08:00
CaptainB aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +08:00
CaptainB b011cd7d26 feat: add tool creation with automatic permissions and cache refresh
--bug=1057901 --user=刘瑞斌 【资源授权】社区版从工具商店添加工具失败 https://www.tapd.cn/62980211/s/1722159
2025-07-02 18:15:45 +08:00
CaptainB aff1ab7d1b refactor: add create_user field to tool serialization and update related logic
--bug=1057413 --user=刘瑞斌 【工具】搜索项选择创建者,创建者列表为空 https://www.tapd.cn/62980211/s/1721870
2025-07-02 15:58:48 +08:00
CaptainB 9541b27d76 refactor: enhance deletion process by removing associated permissions for knowledge, model, and tool 2025-07-02 10:06:05 +08:00
CaptainB f9a8b9c270 refactor: update dynamic URL handling in tool serialization 2025-07-01 18:00:47 +08:00
CaptainB e724ffbebd refactor: simplify query set handling in tool.py and list_tool_user.sql 2025-07-01 11:57:42 +08:00
CaptainB cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00