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,36 @@
|
||||
INSERT INTO ias_upgrade_logs (
|
||||
version,
|
||||
released_at,
|
||||
title,
|
||||
description,
|
||||
changes,
|
||||
modules
|
||||
) VALUES (
|
||||
'0.2.17',
|
||||
'2026-07-08T00:00:00+08:00',
|
||||
'收束 AI 工具入口并归类能力',
|
||||
'模型初始工具列表收束为查询能力、能力详情和调用能力三个入口,底层能力按 API 与 HTTP 两类管理,避免模型直接调用具体工具。',
|
||||
'[
|
||||
"收束模型初始工具列表,仅暴露 query_capabilities、query_capability_detail 和 call_capability 三个入口工具;其它能力直接调用会被拒绝,必须通过 call_capability 按名称和参数调用。",
|
||||
"query_capabilities 改为只返回能力名称和描述,并按 api / http 分类;query_capability_detail 返回单个能力的完整参数、来源、分类和 JSON Schema;call_capability 支持 name、parameters 和可选提示语 text。",
|
||||
"API 能力统一表示通过 iAs HTTP API 封装的能力,新增 API 版 query_mail_messages;删除重复的 YAML 邮件查询能力。",
|
||||
"HTTP 能力统一表示 tools/*.yaml 定义的外部 API 调用能力;删除天气测试 YAML,YAML 扫描只加载 .yaml/.yml 并保持排序。",
|
||||
"控制台工具页和上下文模拟器同步展示入口工具、API 能力和 HTTP 能力分组,避免调试请求继续直接暴露底层能力。",
|
||||
"无数据库结构变化;已验证 cargo test 和 bun run build。"
|
||||
]'::jsonb,
|
||||
'{
|
||||
"ias-common": "0.1.1",
|
||||
"ias-ai": "0.1.7",
|
||||
"ias-wechat": "0.1.0",
|
||||
"ias-context": "0.1.2",
|
||||
"ias-http": "0.1.10",
|
||||
"ias-mail": "0.1.15",
|
||||
"ias-service": "0.1.14",
|
||||
"ias-main": "0.2.17"
|
||||
}'::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