Skip to content

Release v0.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 15:01
· 50 commits to main since this release

Release v0.2.1

中文说明

  • ✨ 联网搜索工具:新增 web_search 工具,基于 SearXNG 多引擎聚合联网搜索,支持结果翻页与超时配置,让智能体具备实时获取外部信息的能力。
  • ✨ 提示词缓存与成本优化:Anthropic 协议接入 cache_control 缓存断点(system 末尾 + 消息末尾滚动前移);环境信息按变化频率升序重排并收敛宿主注入,引擎不再携带默认提示词内容,最大化跨会话提示词前缀缓存命中,显著降低 Token 开销。
  • ✨ 极简 Skill 模式:新增可开关的极简技能模式,开启后技能清单不再注入系统提示词,仅在用户明确触发时按需加载,进一步节省 Token。
  • ✨ 供应商管理增强:供应商支持分组展示与一键复制;编辑时允许修改分组名称;会话与供应商的绑定改为严格精确匹配,失效时自动降级并持久化写回,避免"配了却连不上"的错绑问题。
  • ✨ 对话体验与稳定性:WebSocket 断线期间禁用输入并提示连接状态,重连刷新静默化(1 秒内无感知完成);权限审批参数编辑时强制 JSON 合法性校验;统一 Markdown 渲染入口,消息与规约详情渲染更稳健。
  • ✨ 流式调用修复:SSE 错误帧异常不再被逐帧解析逻辑静默吞掉,上游 API 报错可正确触发透明重试机制。
  • ✨ 文档更新:精简重写项目结构说明,同步更新英文版 README。
  • 🛠️ 版本升级:项目版本号升级至 v0.2.1。

📦 包类型说明

  • base:不含 Java 环境,仅含 app.jar 程序文件。适合已有 Java 25+ 环境的用户,用 java -jar 启动。通过 web 访问。
  • bundle:内置 Java 环境和程序文件,解压后采用对应平台的 cmd/sh/command 脚本文件启动。通过 web 访问。
  • desktop:可视化的桌面壳,内置 Java 环境和程序文件,解压后双击可执行文件。直接通过桌面程序或 web 都可访问。【推荐】

启动服务后,在浏览器中访问:
👉 http://localhost:9661


English

  • ✨ Web Search Tool: Added the web_search tool powered by SearXNG meta-search, with pagination and timeout support, enabling the agent to fetch real-time information from the internet.
  • ✨ Prompt Caching & Cost Optimization: Integrated Anthropic cache_control breakpoints (end of system + rolling last message); environment info is now host-side and sorted by change frequency, with the engine shipping zero default prompt content — maximizing cross-session prompt prefix cache hits and significantly cutting token costs.
  • ✨ Minimal Skill Mode: Added a toggleable minimal skill mode. When enabled, the skill list is omitted from the system prompt and skills load on demand only when explicitly triggered, further saving tokens.
  • ✨ Provider Management Enhancements: Providers now support group display and one-click duplication; editing allows renaming the group; conversation-provider binding is strictly matched and auto-falls-back with persistence when invalid, preventing mismatched bindings.
  • ✨ Chat Experience & Stability: Input is disabled with a connection hint while WebSocket is offline, and session refresh is now silent (completes within 1s); permission approval with edited arguments now enforces JSON validity; a unified Markdown rendering entry makes message and rule rendering more robust.
  • ✨ Streaming Fix: SSE error-frame exceptions are no longer silently swallowed by the frame-parsing loop, so upstream API errors now correctly trigger transparent retries.
  • ✨ Documentation: Rewrote the project structure overview and updated the English README.
  • 🛠️ Version Bump: Updated global project version to v0.2.1.

📦 Package Types

  • base: No Java runtime included — only the app.jar file. For users who already have Java 25+ installed; launch with java -jar and access via the web.
  • bundle: Ships with a bundled Java runtime and the app file. Unzip and launch via the script for your platform (cmd / sh / command); access via the web.
  • desktop: Visual desktop shell with a bundled Java runtime and the app file. Unzip and double-click the executable; access directly from the desktop app or the web. [Recommended]

After starting the service, open your browser and navigate to:
👉 http://localhost:9661