LIghtJUNction
75ee46715a
支持ipv6并完善astrbot run子命令
...
* 默认host修改为::,同时新增两个环境变量DASHBOARD_HOST,DASHBOARD_ENABLE,和DASHBOARD_PORT对齐
* feat: systemd support (#4880 )
* fix: pyright lint (#4874 )
* feat: 将 MessageSession 的 platform_id 改为 init=False,实例化时无需传入
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
* refactor: 将 isinstance 检查改为元组、将默认模型值设为空字符串、将类型注解改为 Any 并导入
* refactor: 为 _serialize_job 增加返回类型注解 dict
* fix: 使用 cast 获取百度 AIP 的 msg 并对 psutil_addr 引入 type: ignore
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
* refactor: 引入 _AddrWithPort 协议并替换 conn.laddr 的 cast
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
* fix: 在构建 AstrBotMessage 时对 ctx.channel 可能为 None 进行兜底处理
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
---------
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
* fix: TypeError when MCP schema type is a list (#4867 )
* Fix TypeError when MCP schema type is a list
Fixes crash in Gemini native tools with VRChat MCP.
* Refactor: avoid modifying schema in place per feedback
* Fix formatting and cleanup comments
* docs: update watashiwakoseinodesukara
Removed duplicate text and added a new image.
* 修复/跨平台一致性
* 琐事/类型标注和一些简单错误修正
* 修复/检查端口时候包含ipv6
* 修复/enable变量的赋值逻辑
---------
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: aider (openai/gpt-5.2) <aider@aider.chat >
Co-authored-by: boushi1111 <95118141+boushi1111@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2026-02-06 02:46:16 +08:00
Xican
2876c43387
fix: 修复特定提供商导致的定时任务执行失败的问题 ( #4872 )
...
* fix: 修复特定提供商导致的定时任务执行失败的问题
* ruff format
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2026-02-05 10:14:31 +08:00
Soulter
464882f206
chore: bump version to 4.14.4
2026-02-04 23:21:08 +08:00
Soulter
6736fb85c2
fix: conversation token usage calculate wrongly and fix tool call infinitely ( #4869 )
2026-02-04 23:18:32 +08:00
Soulter
1f75255950
chore: bump version to 4.14.3
2026-02-04 20:31:19 +08:00
Soulter
a954e75547
fix: add apply_reset parameter to build_main_agent and handle coroutine reset in InternalAgentSubStage
2026-02-04 20:25:31 +08:00
advent259141
d2b9997620
chore: bump version to 4.14.2
2026-02-04 17:42:41 +08:00
Gao Jinzhe
36432c4361
fix: 修复插件热重载时平台适配器未清理导致注册冲突的问题 ( #4859 )
2026-02-04 15:06:03 +08:00
Soulter
c643e3c093
chore: ruff format
2026-02-03 23:40:23 +08:00
Soulter
ff46eef3b2
chore: bump version to 4.14.1
2026-02-03 23:35:21 +08:00
Soulter
a0c364aa81
fix: active reply function does not work caused by event.request_llm() outdated
2026-02-03 23:34:42 +08:00
Soulter
96e61a4a92
chore: bump version to 4.14.0
2026-02-03 22:08:29 +08:00
Soulter
387bba093e
fix: missing 2 required positional arguments: 'filter1' and 'filter2' ( #4840 )
...
fixes : #4777
2026-02-03 20:37:18 +08:00
Soulter
93277ffac9
fix: improve skills bundle extraction process to prevent overwriting existing files
2026-02-03 16:54:53 +08:00
Soulter
c091053ea8
fix: skills bundle unzip failed in sandbox
2026-02-03 16:34:07 +08:00
Soulter
25ca7bd71e
fix: add missing newline for code readability in _apply_local_env_tools function
2026-02-03 16:09:17 +08:00
Soulter
093b37e04b
feat: add computer use runtime config and handling for skills execution ( #4831 )
...
* feat: add computer use runtime configuration and handling for skills execution
* fix: improve user notification for disabled Computer Use feature in skills execution
2026-02-03 16:08:15 +08:00
SJ
cd6bef4d78
fix: MCP tools being filtered out when a specific plugin set is configured in the WebUI ( #4825 )
...
* fix: preserve MCP tools in _plugin_tool_fix filter
Tools without handler_module_path (such as MCP tools and built-in tools)
were being incorrectly skipped during plugin-based tool filtering.
This fix ensures that tools without plugin association are preserved,
as they should not be affected by plugin-level filtering logic.
* fix: retain MCP tools in _plugin_tool_fix function
---------
Co-authored-by: idiotsj <idiotsj@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2026-02-03 10:53:20 +08:00
Soulter
f835f63542
feat: add trace settings management and UI for enabling/disabling trace logging ( #4822 )
...
* feat: add trace settings management and UI for enabling/disabling trace logging
* feat: enhance trace feature with internationalization support for hints and status messages
* fix: improve tool info extraction in run_agent function
2026-02-03 10:24:41 +08:00
Soulter
5deb045e47
fix: merge chatui pop-up prompt into chatui default persona and improve chatui persona handle ( #4824 )
...
* fix: merge chatui pop-up prompt into chatui default persona and improve chatui persona handle
* fix: update webchat persona handling to avoid default assignment for None
2026-02-03 01:29:21 +08:00
Soulter
681b4747a6
feat: add proactive capability configuration with cron tools support
2026-02-01 23:33:45 +08:00
Soulter
45c9db258d
feat: add support for resolving file paths from sandbox and downloading files if necessary
2026-02-01 22:30:22 +08:00
Soulter
382aaaf053
feat: i18n
2026-02-01 22:04:44 +08:00
Soulter
f66edc8d45
feat: implement CronJob system with support for one-time tasks and enhanced UI for task management
2026-02-01 22:04:30 +08:00
Soulter
3f8d8b5033
feat: integrate subagent orchestrator with configuration options for tool management
2026-02-01 20:43:08 +08:00
Soulter
bf587765de
feat: enhance FileDownloadTool to confirm file removal and successful download
2026-02-01 18:13:23 +08:00
Soulter
313a6d8a24
fix: improve error handling for temporary file removal in FileDownloadTool
2026-02-01 18:12:40 +08:00
Soulter
2213fb1ebf
feat: add proactive messaging support in CronJobPage and enhance file download tool with user notification option
2026-02-01 18:12:11 +08:00
Soulter
193676012f
feat: implement history persistence for agent interactions and enhance cron job permission handling
2026-02-01 17:42:08 +08:00
Soulter
bddf7b8623
feat: add proactive messaging support and enhance message handling in SendMessageToUserTool
2026-02-01 16:49:10 +08:00
Soulter
4c8c87d3fd
feat: enhance cron job management and update UI terminology
2026-02-01 15:49:14 +08:00
Soulter
83288ca43e
ruff format
2026-02-01 14:33:17 +08:00
Soulter
7f58a83833
Refactor cron job handling and enhance proactive agent capabilities
...
- Updated FunctionToolExecutor to improve background task handling and integrate new system prompts for proactive agents.
- Enhanced MainAgentBuildConfig with additional configuration options for tool management and context handling.
- Introduced new system prompts for proactive agents triggered by cron jobs and background tasks to improve user interaction.
- Refactored cron job management to utilize ProviderRequest for better context management and tool integration.
- Renamed cron job tools for clarity, changing "create_cron_job" to "create_future_task" and similar adjustments for consistency.
- Improved error handling and logging for cron job execution and agent responses.
- Added support for image captioning and persona management in agent requests.
2026-02-01 14:32:30 +08:00
Soulter
b48e6fb1b3
Merge remote-tracking branch 'origin/master' into Astrbot_skill
2026-02-01 00:46:05 +08:00
Soulter
0c5308a132
refactor: extract main agent
2026-02-01 00:43:41 +08:00
Soulter
339d98be35
chore: bump version to 4.13.2 ( #4782 )
2026-02-01 00:39:37 +08:00
Soulter
e8be624794
fix(context): append 'main' to module_part for handler module path ( #4776 )
2026-01-31 22:26:50 +08:00
Soulter
b2c6471ab0
fix: skill like tool ( #4775 )
2026-01-31 22:11:42 +08:00
Soulter
4ea865f017
feat: add cron job management tools and dashboard integration
...
- Implemented proactive cron job tools in InternalAgentSubStage for scheduling tasks.
- Created SendMessageToUserTool for sending messages to users based on cron job triggers.
- Added CreateActiveCronTool, DeleteCronJobTool, and ListCronJobsTool for cron job management.
- Introduced CronRoute for handling cron job API requests in the dashboard.
- Developed CronJobPage.vue for managing cron jobs in the dashboard UI.
- Updated SubAgentPage.vue to include persona selection for subagents.
2026-01-31 17:08:37 +08:00
Soulter
5b7805e8d7
feat: trace and log file config ( #4747 )
...
* feat: trace
* fix(log): increase log cache size from 200 to 500
* feat(logging): add file and trace logging configuration options
2026-01-31 00:05:54 +08:00
Soulter
831c2150d6
Merge remote-tracking branch 'origin/master' into Astrbot_skill
2026-01-29 23:46:21 +08:00
Soulter
a500f2edc8
chore: bump version to 4.13.1
2026-01-29 23:31:49 +08:00
Soulter
d27099f2da
fix(skills): update SANDBOX_SKILLS_ROOT path to use relative directory
2026-01-29 23:25:56 +08:00
Helian Nuits
2aa0986295
fix(db): using lambda expression to ensure updated_at field ( #4730 )
...
* fix(db): 使用 lambda 表达式确保 updated_at 字段正确更新
updated_at 字段原先在 sa_column_kwargs["onupdate"] 中直接使用了 datetime.now(),导致时间戳仅在模块导入时被计算一次,之后不再变化,结果所有记录的更新时间都被设成了程序启动时间。
本次修改将时间戳生成逻辑封装进 lambda 表达式,使 SQLAlchemy 在每次更新记录时才惰性求值,从而保证时间戳实时更新。
* refactor(db): 根据建议引入 TimestampMixin 统一时间戳定义,提取 `created_at`/`updated_at` 至 [TimestampMixin]
2026-01-29 19:07:21 +08:00
advent259141
738e69a8af
add 3-mode selector and main tool mounting policy
2026-01-29 11:27:50 +08:00
Gao Jinzhe
60492d46ee
Merge branch 'master' into Astrbot_skill
2026-01-29 10:57:30 +08:00
Soulter
0500ee8e2b
chore: bump version to 4.13.0
2026-01-29 00:21:58 +08:00
vmoranv
f92f0a3e5d
feat(core): supports anthropic-skills-like tool call mode ( #4681 )
...
* feat(core): change llmtool to claude skills like func call
* feat: refactor tool execution logic in ToolLoopAgentRunner for improved clarity and efficiency
* feat(core): 添加工具调用模式配置选项
新增 tool_schema_mode 配置项,支持两种工具调用模式:
- skills_like:先发送工具名称和描述,再查询参数(两阶段)
- full:一次性发送完整工具模式
更新了默认配置、配置元数据定义以及代理子阶段处理逻辑,
添加了完整的工具调用提示语句,并在仪表板中提供了国际化支持。
* feat: 优化工具集获取逻辑,添加轻量和参数工具集返回方法
* refactor(runner): 重构工具模式处理逻辑到ToolLoopAgentRunner
- 将工具集激活逻辑提取到新的_build_active_tool_set方法中
- 实现工具模式配置功能,支持full和light模式的动态切换
- 移除InternalAgentSubStage中的工具模式应用逻辑,统一在runner中处理
- 添加_tool_schema_full_set和_tool_schema_param_set实例变量来管理工具集状态
- 修改工具查询逻辑以使用新的工具集管理方式
* fix: update default tool_schema_mode to 'full' in InternalAgentSubStage
* refactor: rename TOOL_CALL_PROMPT_FULL to TOOL_CALL_PROMPT_SKILLS_LIKE_MODE and update prompt logic
---------
Co-authored-by: Soulter <905617992@qq.com >
2026-01-28 22:49:34 +08:00
Soulter
22bd8d6824
feat: support anthropic skills ( #4715 )
...
* feat: support anthropic skills
closes : #4687
* chore: ruff
* feat: implement skills management and selection in persona configuration
* feat: enhance skills management with local environment tools and permissions
2026-01-28 01:48:57 +08:00
xunxiing
a4fc92e803
feat: add file upload to plugin config ( #4539 )
...
Co-authored-by: Soulter <905617992@qq.com >
2026-01-27 14:56:19 +08:00