feat: 0.2.27 - 抽离数据库基础设施模块
- 新增 ias-db crate,集中管理 PostgreSQL 连接池和 SQLx 迁移
- 迁移 ias-service/migrations 到 ias-db/migrations
- ias-main 改用 ias_db::connect_db(),ias-service 只接 PgPool
- 新增操作日志 HTTP 查询接口 (GET /v1/logs, GET /v1/logs/{id})
- 新增操作日志 Web 前端页面,支持按级别/模块/关键词筛选
- 消息队列关键节点增加操作日志写入
- ias-mail 新增 mark_remote_message_seen,IMAP 已读同步
- 工作流配置加载改为文件级容错 (load_configs_with_warnings)
- ias-context 工具调用说明更新为 query_api_docs + call_http_api
- 新增高德地图地理编码 HTTP 能力配置
模块版本: ias-db 0.1.0, ias-ai 0.1.14, ias-context 0.1.6, ias-http 0.1.15, ias-mail 0.1.16, ias-service 0.1.25, ias-main 0.2.27
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
INSERT INTO ias_upgrade_logs (
|
||||
version,
|
||||
released_at,
|
||||
title,
|
||||
description,
|
||||
changes,
|
||||
modules
|
||||
) VALUES (
|
||||
'0.2.23',
|
||||
'2026-07-08T00:00:00+08:00',
|
||||
'修复 HTTP 能力加载与工具说明措辞',
|
||||
'修复高德地理编码 YAML 查询参数格式导致 HTTP 能力列表加载失败的问题,并同步修正工具调用说明中已过期的能力名称。',
|
||||
'[
|
||||
"修复 amap_geocode HTTP 能力 YAML 的 query 配置格式,改为工具链引擎支持的二元组列表,避免 query_capabilities 因解析失败导致所有 HTTP 能力为空。",
|
||||
"query_capabilities 在没有额外动态工具调用说明时,会明确提示固定工具调用约束已在系统提示词中生效,避免误解为缺少系统级约束。",
|
||||
"修正工具调用说明动态段中的过期能力名,不再引用已移除的 record_tool_call_instruction,改为提示通过 query_api_docs 查询 context.tool-instructions.update 后使用 call_http_api 维护。",
|
||||
"数据库无结构变化;已验证 cargo fmt 和 cargo test。"
|
||||
]'::jsonb,
|
||||
'{
|
||||
"ias-common": "0.1.2",
|
||||
"ias-ai": "0.1.12",
|
||||
"ias-wechat": "0.1.1",
|
||||
"ias-context": "0.1.5",
|
||||
"ias-http": "0.1.13",
|
||||
"ias-mail": "0.1.15",
|
||||
"ias-service": "0.1.20",
|
||||
"ias-main": "0.2.23"
|
||||
}'::jsonb
|
||||
) ON CONFLICT (version) DO UPDATE SET
|
||||
released_at = EXCLUDED.released_at,
|
||||
title = EXCLUDED.title,
|
||||
description = EXCLUDED.description,
|
||||
changes = EXCLUDED.changes,
|
||||
modules = EXCLUDED.modules;
|
||||
Reference in New Issue
Block a user