Commit Graph

2517 Commits

Author SHA1 Message Date
heheer
d4810994db add app option (#5911) 2025-11-13 16:49:19 +08:00
archer
a838a5862b fix: agent show 2025-11-11 15:56:26 +08:00
archer
0729813588 fix: package 2025-11-11 15:42:14 +08:00
archer
eeea4d7ec0 perf: interactive check 2025-11-11 15:00:50 +08:00
archer
7e8d104f53 fix: usage 2025-11-11 14:53:44 +08:00
archer
dd6b387d83 fix: agent code 2025-11-11 14:53:44 +08:00
archer
fbe361929c agent code 2025-11-11 14:53:44 +08:00
YeYuheng
37704cd7c0 tool compress (#5885)
Co-authored-by: xxyyh <2289112474@qq>
2025-11-11 14:53:43 +08:00
archer
2516915b41 fix: ts 2025-11-11 14:53:43 +08:00
archer
39853848a4 perf: agent editor 2025-11-11 14:53:42 +08:00
archer
3b9f6a3ee4 fix: ts 2025-11-11 14:53:27 +08:00
YeYuheng
f5a636e706 test agent (#5822)
* 1. 添加了用户的系统提示词(可以输入背景和自己的规划)
2. 优化了 replan 阶段对不同类型任务的判别(开发性任务和确定性任务触发总结的概率不同)

* 1. 添加任务识别(简单任务直接回答,复杂任务进入 plan 模式)

* 1. 添加任务识别(简单任务直接回答,复杂任务进入 plan 模式)

* fix:确认计划后还是会进入复杂度检查

* fix:确认计划后还是会进入复杂度检查

* 1. 添加 deponds on 的压缩方法

* 1. 添加在 step 执行过程中 messages 的压缩方案

---------

Co-authored-by: xxyyh <2289112474@qq>
2025-11-11 14:53:27 +08:00
YeYuheng
8fb54d5718 Test agent (#5819)
* test-agent

* 111

* temp

* ask prompt

* 1. 移除 deponds on 字段, 修改 replan 字段为 boolean 类型
2. 修改了上下文的在 replan 阶段没有传入的问题

---------

Co-authored-by: xxYyh <xxyyh@xxYyhdeMacBook-Pro.local>
Co-authored-by: xxyyh <2289112474@qq>
2025-11-11 14:53:27 +08:00
archer
48a3c3ca46 feat: system prompt parse 2025-11-11 14:53:27 +08:00
archer
8172026793 fix: toolcall check 2025-11-11 14:53:26 +08:00
archer
fde46941af fix: update interactive 2025-11-11 14:53:25 +08:00
archer
dd848c8b52 fix: plan throw 2025-11-11 14:52:32 +08:00
archer
9986d6ec34 agent test 2025-11-11 14:52:32 +08:00
archer
322dd28979 agent prompt 2025-11-11 14:52:32 +08:00
archer
32ca0bfd66 Node rebase 2025-11-11 14:52:32 +08:00
archer
1df95f4e22 plan params 2025-11-11 14:52:31 +08:00
heheer
99cf909269 feat: editor support select app for test (#5660)
* feat: editor support select app for test

* label style
2025-11-11 14:52:31 +08:00
archer
f1c5efa6cb perf: agent call code 2025-11-11 14:52:30 +08:00
archer
b31345a710 perf: agent plan 2025-11-11 14:52:04 +08:00
heheer
9c4d12bbc1 feat: enable tool selection as skills (#5638)
* temp: list value

* backspace

* optimize code

* temp-tool

* third menu

* render-temp

* editor use

* optimize skill picker

* update

* change index to key

* fix select index

* remove tool

* query string

* right command fix

* tool hooks

* highlight scroll

* loading status

* search

* debounce

* option list

* invalid

* click

* delete comment

* tooltip

* delete level
2025-11-11 14:52:04 +08:00
francis
ed7a9d1f79 perf: plan agent detail fixing (#5658)
* chore: clean up

* fix: tool response

* fix: context memory

* feat: distinguish by workflow deepth

* perf: master prompt
2025-11-11 14:52:04 +08:00
francis
ac6b235280 feat: plan ask (#5650)
* feat: plan ask

* fix

* fix: unit test

* fix: build

* refactor: plan llm call
2025-11-11 14:52:04 +08:00
archer
aeaad52f46 feat: update interactive can push items 2025-11-11 14:52:04 +08:00
archer
ac05e9d6fa feat: plan interactive type 2025-11-11 14:51:58 +08:00
archer
92bdbb228a feat: sub tool response 2025-11-11 14:27:53 +08:00
archer
24cf32f8b0 perf: sub agent output 2025-11-11 14:25:12 +08:00
archer
f6db22553d perf: plan agent name 2025-11-11 14:25:12 +08:00
francis
9bbad5cb7b feat: add dispatchApp (#5612) 2025-11-11 14:25:12 +08:00
archer
87e08d9ed5 perf: stream response add id 2025-11-11 14:25:11 +08:00
archer
8e1b835501 workflow response 2025-11-11 14:22:44 +08:00
archer
615465420b perf: agent call code 2025-11-11 14:22:44 +08:00
archer
d90d91dfbe fix: ts 2025-11-11 14:22:42 +08:00
archer
3e0eea7cfb perf: agent form editor 2025-11-11 14:21:50 +08:00
francis
b0f9dd0f69 feat: refactor agent dispatch functions and improve tool call handling (#5606) 2025-11-11 14:21:50 +08:00
archer
f5a7b198ff fix: toolset rewrite 2025-11-11 14:21:50 +08:00
archer
38bf40d710 add lang 2025-11-11 14:21:50 +08:00
archer
7a26cd8a7c feat: agent app editform 2025-11-11 14:21:48 +08:00
francis
32ea07cb9c feat: add plan agent & model agent (#5577)
* refactor: agent call (#5572)

* feat: Add relevant functions related to agent invocation, including plan parsing, state management and tool invocation

* Refactor agent call logic and utilities

- Simplified the `runAgentCall` function by removing unnecessary complexity and restructuring the flow for better readability and maintainability.
- Introduced helper functions to create tools from tool nodes and to prepare agent messages, enhancing modularity.
- Removed the `utils.ts` file as its functions were integrated into the main logic, streamlining the codebase.
- Updated the dispatch logic in `index.ts` to utilize the new helper functions and improve clarity.
- Adjusted the handling of interactive modes and tool calls to ensure proper response formatting and error handling.

* refactor: clean up the processing logic of the interactive mode and remove the unused tool creation functions

* feat: add relevant constants for proxy configuration and update the proxy call logic

* refactor: remove unused configuration variables from workflow properties

* refactor: remove unused configuration variables from dispatchRunAgents props

* fix: build error

* refactor: update FlowNodeTypeEnum values and consolidate utility functions

* refactor: simplify conditional checks in tool call and reasoning handlers

* feat: add default agent prompt for improved response handling

* refactor: rename directory with agent->tool, agentCall->agnet

* refactor: rename dispatchRunAgents to dispatchRunAgent for consistency

* refactor: rename toolCall to tools for consistency in FlowNodeTypeEnum

* refactor: rename agents to toolCall for consistency in nodeTypes mapping

* refactor: remove unused runtimeEdges parameter from dispatchRunAgent

* refactor: update runAgentCall and dispatchRunAgent to use structured requestProps and workflowProps

* refactor: streamline requestProps and handleToolResponse in runAgentCall and dispatchRunAgent

* refactor: restructure RunAgentCallProps and update requestProps to requestParams for clarity

* refactor: enhance interactiveEntryToolParams handling in runAgentCall for improved response management

* refactor: flatten RunAgentCallProps structure and update dispatchRunAgent to use direct properties

* fix: correct initialization of interactiveResponse in runAgentCall

* agent call code

* fix: agent call stop sign

* feat: add plan agent tools and default generated prompts

* feat: add model agent tools and related functions

* chore: rename enum value

* fix: optimize isEndSign assignment and update default plan prompt format

* fix: update transferPlanAgent to use histories instead of sharedContext and rename default prompt variable

* fix: update transferPlanAgent to use ChatItemType and adapt message structure

* feat: add ModelAgentTool and PlanAgentTool with detailed descriptions and parameters
fix: update error handling in transferModelAgent and transferPlanAgent to return error messages
refactor: simplify isEndSign assignment in runAgentCall

* feat: enhance agent call handling and response processing with context support

* feat: refactor agent prompts and add utility functions for system prompt parsing

* feat: add plan agent tools and default generated prompts

* feat: add model agent tools and related functions

* chore: rename enum value

* fix: optimize isEndSign assignment and update default plan prompt format

* fix: update transferPlanAgent to use histories instead of sharedContext and rename default prompt variable

* fix: update transferPlanAgent to use ChatItemType and adapt message structure

* feat: add ModelAgentTool and PlanAgentTool with detailed descriptions and parameters
fix: update error handling in transferModelAgent and transferPlanAgent to return error messages
refactor: simplify isEndSign assignment in runAgentCall

* feat: enhance agent call handling and response processing with context support

* feat: refactor agent prompts and add utility functions for system prompt parsing

* feat: add AskAgentTool to support the interactive questioning function

* Update request.ts

---------

Co-authored-by: archer <545436317@qq.com>
2025-11-11 14:19:33 +08:00
archer
868db4ef1a fix: agent call stop sign 2025-11-11 14:19:33 +08:00
archer
1958043440 agent call code 2025-11-11 14:19:33 +08:00
francis
7003aee593 refactor: agent call (#5572)
* feat: Add relevant functions related to agent invocation, including plan parsing, state management and tool invocation

* Refactor agent call logic and utilities

- Simplified the `runAgentCall` function by removing unnecessary complexity and restructuring the flow for better readability and maintainability.
- Introduced helper functions to create tools from tool nodes and to prepare agent messages, enhancing modularity.
- Removed the `utils.ts` file as its functions were integrated into the main logic, streamlining the codebase.
- Updated the dispatch logic in `index.ts` to utilize the new helper functions and improve clarity.
- Adjusted the handling of interactive modes and tool calls to ensure proper response formatting and error handling.

* refactor: clean up the processing logic of the interactive mode and remove the unused tool creation functions

* feat: add relevant constants for proxy configuration and update the proxy call logic

* refactor: remove unused configuration variables from workflow properties

* refactor: remove unused configuration variables from dispatchRunAgents props

* fix: build error

* refactor: update FlowNodeTypeEnum values and consolidate utility functions

* refactor: simplify conditional checks in tool call and reasoning handlers

* feat: add default agent prompt for improved response handling

* refactor: rename directory with agent->tool, agentCall->agnet

* refactor: rename dispatchRunAgents to dispatchRunAgent for consistency

* refactor: rename toolCall to tools for consistency in FlowNodeTypeEnum

* refactor: rename agents to toolCall for consistency in nodeTypes mapping

* refactor: remove unused runtimeEdges parameter from dispatchRunAgent

* refactor: update runAgentCall and dispatchRunAgent to use structured requestProps and workflowProps

* refactor: streamline requestProps and handleToolResponse in runAgentCall and dispatchRunAgent

* refactor: restructure RunAgentCallProps and update requestProps to requestParams for clarity

* refactor: enhance interactiveEntryToolParams handling in runAgentCall for improved response management

* refactor: flatten RunAgentCallProps structure and update dispatchRunAgent to use direct properties

* fix: correct initialization of interactiveResponse in runAgentCall
2025-11-11 14:19:31 +08:00
Archer
d571c768ea V4.14.1 feature (#5880)
* feat: app split (#5858)

* feat: app split script

* fix: app split

* chore: app split script try-catch

* adjust dashborad page (#5872)

* create page

* create page

* create button

* router name

* bot

* template

* create page

* mobile

* toolfolder

* fix

* fix

* fix build

* split tool select

* img

* doc

* rename enum

* fix page adjust (#5883)

* fix page adjust

* fix ad store

* fix: initv4141 (#5886)

* fix: create app

* doc

* hide api

* doc

* feat: payment pause interactive (#5892)

* fix: copy clbs (#5889)

* fix: copy clbs

* fix: copy clbs

* fix: http protocol handling in baseURL (#5890)

* fix: http protocol handling in baseURL

* ui fix

* auto saved version

* fix

* auto save

* fix: model permission modal (#5895)

* folder

* fix: del app

* navbar

* fix: plugin file selector (#5893)

* fix: plugin file selector

* fix: plugin file selector

* workflow tool inputform

* pick

---------

Co-authored-by: archer <545436317@qq.com>

* fix: workflow tool time

* doc

* fix workorder button (#5896)

* add inform track (#5897)

* remove invalid track

* comment

* feat: marketplace refresh api (#5884)

* marketplace refresh

* fix: helper bot menu button (#5898)

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com>
2025-11-11 14:05:02 +08:00
伍闲犬
74e16204e3 fix: plugin file selector (#5871)
* fix: plugin file selector

* fix: render

* fix: upload

* fix: file selector auth

---------

Co-authored-by: archer <545436317@qq.com>
2025-11-07 16:48:10 +08:00
Finley Ge
8ca5ebecd4 perf: read file node return splited raw texts (#5881) 2025-11-07 14:20:34 +08:00
Archer
7225ebec01 perf: model reload (#5879)
* Version doc

* perf: model reload
2025-11-07 12:15:08 +08:00