Commit Graph

151 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 4b0dd1b7c0 feat: Variable aggregation 2025-10-17 17:31:59 +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
zhangzhanwei 6a0145758c feat: Remove debug permission 2025-09-19 16:54:24 +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
CaptainB ea56fd6212 feat: add db_index to various fields for improved query performance 2025-07-14 11:54:19 +08:00
CaptainB 1ac7fc4669 refactor: Update user foreign key constraints and add new fields across multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-14 10:52:08 +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
zhangzhanwei 1f1d4721eb fix: Tool permission of two common user role 2025-07-08 10:40:54 +08:00
zhangzhanwei 880697bf35 fix: Add tool from tool store 2025-07-07 14:35:32 +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
wxg0103 e4a8047a05 refactor: update user field in Tool and ToolFolder models to allow null values and set on delete 2025-07-04 15:04:29 +08:00
zhangzhanwei d114b0013a fix: Extends common user tool permission 2025-07-04 14:32:15 +08:00
CaptainB f3e5f26caf refactor: enhance JSON serialization with custom serializer for datetime and Decimal types 2025-07-04 13:19:09 +08:00
zhangzhanwei 60e3005aa9 fix: Tool permission by extend workspace manager 2025-07-04 10:41:45 +08:00
zhangzhanwei 97269d5445 fix: System common user permission by role 2025-07-03 18:21:57 +08:00