Repository navigation
新增功能
- 图片与文件附件:管理界面和 HTTP 接入 API 支持图片、文本、PDF 等文件,可发送纯附件或图文混合消息,并提供图片预览和鉴权下载。附件可在同一 Session 后续消息中继续使用,随 Session 存储清理一起移除。
- 原生 GitHub / GitLab Webhook:接收平台原生事件,验证签名,支持事件筛选、规则预览和接收记录查询。
- Skills 来源与版本管理:支持 Git 和 marketplace 来源,预览版本变化,按 Agent 应用更新或回退历史版本。
- 模型与并发调度:支持固定模型,或按 UTC 星期和时间段选择模型及并发上限。
改进与修复
- 完善 Run 超时、空闲运行时释放和子进程清理。
- Session 存储按最后活动时间清理;清理、删除和重置中断后可恢复,保留对应的历史记录与统计。
- 改善 Session、Webhook 管理和管理界面的响应式体验。
- 修复 Webhook 按 Task 顺序投递的问题,并更新运行时和依赖安全补丁。
升级事项
- 使用 Node.js 22 和项目固定的 pnpm 10.28.2;运行
corepack pnpm install --frozen-lockfile后重新构建。 - 升级前停止旧服务并备份数据库、
secret.key、Skills 来源与版本目录以及 Agent 配置。新版本启动时自动执行数据库迁移。 - 附件最多 8 个,单文件最多 10 MiB,PNG/JPEG/GIF/WebP 图片最多 5 MiB,总计最多 20 MiB。反向代理的消息提交路由应允许至少 30 MiB 请求体,以容纳 base64 编码。
- 附件原始内容存储在 SQLite,执行时在 Session 工作区保留副本。清理会移除两处内容;SQLite 释放的页可复用,数据库文件大小不保证立即缩小。重置 Provider 上下文保留附件。
New features
- Image and file attachments: send images, text files, PDFs, and other files through the management UI and HTTP integration API. Supports attachment-only and mixed messages, image previews, and authenticated downloads. Files remain available in later turns of the same Session and are removed during Session storage cleanup.
- Native GitHub / GitLab Webhooks: accept native platform events with signature verification, event filters, filter previews, and receipt history.
- Skill sources and versions: import Git and marketplace sources, preview changes, and apply updates or roll back revisions per Agent.
- Model and concurrency schedules: select a fixed model or schedule models and concurrency limits by UTC weekday and time window.
Improvements and fixes
- Improve Run timeouts, idle runtime release, and subprocess cleanup.
- Base Session retention on last activity and recover interrupted cleanup, deletion, and reset operations while preserving the appropriate history and statistics.
- Improve Session and Webhook management and responsive console behavior.
- Fix per-Task Webhook delivery ordering and update runtime and dependency security patches.
Upgrade notes
- Use Node.js 22 and the pinned pnpm 10.28.2. Run
corepack pnpm install --frozen-lockfile, then rebuild. - Stop the old service and back up the database,
secret.key, Skill source and revision directories, and Agent configuration. Database migrations run automatically at startup. - Messages accept up to 8 attachments: 10 MiB per file, 5 MiB per PNG/JPEG/GIF/WebP image, and 20 MiB total. Allow at least 30 MiB request bodies on message-submission routes in the reverse proxy to accommodate base64 encoding.
- Original attachment bytes are stored in SQLite, with runtime copies in the Session workspace. Cleanup removes both; freed SQLite pages can be reused, but the database file may not shrink immediately. Resetting Provider context preserves attachments.
Documentation: 中文 · English · 部署指南 / Deployment
Full changelog: v0.1.0...v0.2.0