AskaEth
|
a8fa64325d
|
feat: 全链路追踪增强 + 超时修复
- ethend /api/trace/recent: 新增消息收发事件(platform-bridge日志)
- 消息按管线聚合: msg_received → llm_call → tool_call → msg_sent
- platform-bridge→ai-core超时 120s→180s
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 19:08:16 +08:00 |
|
AskaEth
|
3081ac38e0
|
fix: seed去重按platform type而非config name — 消除重复obv11 stub
|
2026-06-23 18:56:28 +08:00 |
|
AskaEth
|
0f180f17c3
|
fix: 旧配置自动迁移 — 补ID + qq→obv11 + platform_configs.json同步
- load() 自动为无ID旧配置生成唯一标识符
- 自动迁移 platform: qq→obv11, config名 qq→obv11
- platform_configs.json 已迁移: qq→obv11-main
- OBv11 adapter 已连接 (NapCat client模式)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 18:55:36 +08:00 |
|
AskaEth
|
1e2b2525f4
|
fix: 私聊主动消息路由修复 + 多账号自动适配
- 正则兼容 private_ 前缀: 【OBv11私聊:private_1487720750】
- prompt 显示频道时自动剥离 private_ 前缀
- extractProactiveMessage 自动查 PlatformChannel 表,
将 target.Platform 从格式key改为adapter实例名
多账号场景下自动路由到正确adapter
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 18:43:42 +08:00 |
|
AskaEth
|
73f0bf7b3e
|
chore: 清除最后5处硬编码qq引用(注释+配置白名单)
|
2026-06-23 18:20:33 +08:00 |
|
AskaEth
|
8a3236b8bb
|
refactor: 彻底消除硬编码 qq — 平台标识统一为 obv11
- PlatformName() 返回 "obv11"
- platformFormats key: "obv11"
- 所有 platform == "qq" 检查 → "obv11"
- session prefix: platform_qq_ → platform_obv11_
- env var PLATFORM_CHANNELS: obv11:group:xxx
- ethend 平台标识同步更新
- 注释和测试用例同步
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 18:19:52 +08:00 |
|
AskaEth
|
c96bd23f83
|
feat: PlatformChannel 支持 AdapterID/AdapterName — 多账号全链路区分
- PlatformChannel 新增 AdapterID + AdapterName 字段
- AddOrUpdatePlatformChannel 接受 adapter 信息参数
- channel_sync 传递 adapter_id/adapter_name
- 消息处理路径传递 adapter_name
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 18:01:27 +08:00 |
|
AskaEth
|
45fac267fe
|
feat: 平台配置唯一ID — PlatformConfig.ID + adapter全链路传播
- PlatformConfig 新增 ID 字段 (8字节hex,创建时自动生成)
- QQ adapter 新增 configID + ConfigID() 访问器
- ChannelInfo 新增 AdapterID + AdapterName
- createSingleAdapter 接受 configID 参数
- 同一个平台类型的多个配置实例通过 ID 唯一区分
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 17:59:37 +08:00 |
|
AskaEth
|
6bf59f7eee
|
feat: 频道自动发现 — platform-bridge定时刷新频道路由 + ai-core周期同步
platform-bridge:
- QQ adapter: FetchGroups/FetchFriends 从NapCat API获取
- ChannelLister接口 + ChannelInfo结构体
- GET /api/v1/channels 端点 + cachedChannels缓存
- StartChannelRefresh 每10分钟自动刷新
ai-core:
- channel_sync.go: 每5分钟从platform-bridge拉取频道
- 自动更新thinker的platformChannels + botUIDs
- 不再依赖PLATFORM_CHANNELS环境变量手动配置
修复:
- SendMessage显式设AutoEscape:false
- PLATFORM_BRIDGE_URL默认端口8082→8095
- OBv11Params.AutoEscape去掉omitempty
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 13:12:54 +08:00 |
|
AskaEth
|
c9bf839945
|
fix: QQ发送消息中文乱码 — SendMessage 显式设置 auto_escape=false
NapCat 在 auto_escape 未传时默认走 escape 模式,导致 UTF-8 中文被当 CQ 码处理
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 13:01:21 +08:00 |
|
AskaEth
|
9767abae89
|
feat: 2.2 主动话题发起 — 轻量思考扩展【话题发起】输出
- 轻量思考 prompt 新增话题发起指引
- 检测【话题发起】标记 → 提取内容 → 通过 messagePusher 推送
- 遵循 ProactiveGuard 频率控制
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:46:51 +08:00 |
|
AskaEth
|
bbf06da00f
|
feat: 1.3 记忆自然引用 — 记忆标签从'数据库检索'改为'自己的回忆'
- 记忆头: '以下是关于开拓者的重要记忆' → '你记得关于开拓者的这些事'
- 分类: '★核心记忆/●常用记忆' → '你很确定的事/最近发生的事/还有点印象的事'
- 增加规则: 禁止用「根据记忆」「检索到」等说法
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:45:44 +08:00 |
|
AskaEth
|
f9ee067674
|
feat: 1.2 情绪共振 — mood→行为映射替代情绪陈述
- 新增 buildMoodGuidance() 函数,5种心情各有行为描述
- 开心→话多♪多主动 | 调皮→撒娇逗人 | 沉思→安静温柔
- 担心→话少多关心 | 怀旧→提过去的故事
- 绝不陈述"你现在很开心",而是用行为让LLM自然表达
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:44:27 +08:00 |
|
AskaEth
|
b8fd08b57c
|
chore: WS断连日志增强 — 显示adapter名称和模式
|
2026-06-23 12:27:41 +08:00 |
|
AskaEth
|
f0e8ffa2bb
|
feat: extractProactiveMessage 单元测试 + 修复 log.Printf 格式化 bug
- 7 个测试覆盖:无标记/Web推送/OBv11群聊/私聊/@提及/否定语境/继续思考
- 修复 thinker.go:454 log.Printf %%v → %v 格式化错误
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:26:39 +08:00 |
|
AskaEth
|
b3ce0b4f52
|
feat: LLM 降级策略 — 全部模型不可用时返回自然语言预设文案
- getFallbackMessage() 随机选择3条预设降级回复
- ProcessInput 失败和流式事件错误均使用降级回复
- 用户看到"开拓者…我现在好像有点恍惚…"而非错误信息
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:25:13 +08:00 |
|
AskaEth
|
0cd75c4dbc
|
feat: 人性化改进 Phase 1 — 不完美感 + 日周期状态机 + 小脾气
- 1.7.7 不完美感: system prompt 追加停顿/改口/翻找回忆规则
- 1.7.8 日周期: 新增 timePeriod() 函数,时段注入思考提示词
早晨/白天/傍晚/深夜/凌晨 五段式,自动调整语气和主动消息策略
- 1.7.9 小脾气: YAML 追加个性边界 — 深夜催睡/咖啡管控/撒娇/兴趣偏好
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 12:23:30 +08:00 |
|
AskaEth
|
39d62559ea
|
fix: AdapterName JSON tag 写成了 group_name → 修正为 adapter_name
|
2026-06-22 21:33:31 +08:00 |
|
AskaEth
|
42793f9bba
|
chore: ethend QQ→OBv11 + config.js环境变量同步 + curQQ变量重命名
- ethend: QQ_BOT_PORT→OBV11_BOT_PORT, QQ_ADMIN_UID→OBV11_ADMIN_UID
- ethend UI: QQ→OBv11 标签, 企鹅图标→🔷, 对话框文案
- platform-bridge: curQQ→curAdapter 变量名
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 21:32:10 +08:00 |
|
AskaEth
|
6faef5b6e5
|
feat: 群聊并发 — 主会话繁忙时创建协会议话
- Orchestrator 新增 per-session 处理锁 + co-session 跟踪
- 主会话处理中时,新消息自动创建协会议话(并发 LLM 调用)
- 协会议话上限 3 个,超出排队等待 500ms
- 主会话结束后自动释放锁
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 21:07:16 +08:00 |
|
AskaEth
|
489657ec08
|
feat: 提醒到期 → LLM生成自然提醒语 → 推送
- Gateway ReminderScheduler 到期时调用 ai-core /api/v1/internal/reminder-trigger
- ai-core 用 LLM 生成温柔俏皮的提醒语,通过 messagePusher 推送
- Thinker 新增 TriggerReminderMessage 方法
- 环境变量: AI_CORE_URL (Gateway 已有)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 21:04:21 +08:00 |
|
AskaEth
|
2b17bb5b03
|
feat: 同平台多账号支持 — adapter_name 贯穿全链路
- UnifiedMessage 新增 AdapterName 字段
- router 从适配器 ConfigName() 捕获 adapter 实例名
- forwardToAICore source 新增 adapter_name
- ai-core SetBotUID key 优先用 adapter_name,回退 platform
- 更新优化大纲加入 P4.1
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:53:40 +08:00 |
|
AskaEth
|
41f653b672
|
refactor: QQ → OBv11 重命名 + 平台格式统一抽象
- 所有对外称呼从 QQ 改为 OBv11(注释/提示词/日志/配置项)
- 新增 PlatformFormat 结构体,统一管理平台消息标记格式
- defaultPlatformFormats() 注册表替代硬编码 qqTargetRe
- extractProactiveMessage 改为 Thinker 方法,遍历格式注册表匹配
- 配置项重命名: QQ_BOT_PORT → OBV11_BOT_PORT, QQBotPort → OBv11BotPort
- 标记格式: 【QQ群聊】→【OBv11群聊】、【QQ私聊】→【OBv11私聊】
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:48:07 +08:00 |
|
AskaEth
|
a46b5f6238
|
feat: 自主思考分层 — 轻量思考(简单)+深度思考(复杂)双模型
- 新增轻量思考循环 lightThinkLoop (默认60s间隔,快速模型)
- 轻量思考用极简 prompt 做快速状态检查
- 检测到「需要深思」时自动唤醒深度思考 performThink("light_wake")
- 环境变量: LIGHT_THINK_ENABLED / LIGHT_THINK_INTERVAL_SEC
- 轻量思考跳过活跃用户 (30s内有消息) 和重复触发 (10s内)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:39:20 +08:00 |
|
AskaEth
|
485d845f3e
|
feat: LLM可自主操作提醒 — reminder_create/list/delete 工具
- 新增 GatewayClient HTTP 客户端,调用 Gateway /api/v1/reminders API
- 新增 3 个提醒工具:reminder_create / reminder_list / reminder_delete
- main.go 注册提醒工具,需 GATEWAY_URL + INTERNAL_SERVICE_TOKEN 环境变量
- AutonomousToolPolicy 白名单加入提醒工具,允许自主思考中创建提醒
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:37:27 +08:00 |
|
AskaEth
|
7e475bdfa6
|
feat: 子会话结果增加创建/结束时间戳
- SubSessionResult 新增 CreatedAt / FinishedAt 字段
- manager.Dispatch 在各路径统一设置时间戳:成功/失败/超时
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:31:48 +08:00 |
|
AskaEth
|
8783cadf9b
|
feat: 思考追加机制 — 所有思考类型支持【继续思考】标记循环
- performThink 改为循环执行,最多3轮
- LLM输出含【继续思考】时自动追加一轮
- post_chat/silence/default三种提示词均告知可用此标记
- 存储前剥离控制标记,不污染思考内容
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:29:17 +08:00 |
|
AskaEth
|
cadd5f2233
|
feat: QQ主动消息管道 + 戳一戳事件 + thinker提示词优化
- ProactiveTarget 结构体 + QQ目标正则解析(extractProactiveMessage 返回双值)
- storeThought 双路推送:platform消息 → platformMessagePusher,web消息 → messagePusher
- platform-bridge: SendProactive接口 + ProactiveSender + /api/v1/internal/send-proactive端点
- QQ戳一戳/notice事件 → noticeToUnified → ContentType "action"
- thinker提示词注入QQ频道上下文:群名称(群号)、活跃时间、trigger-aware引导
- SetBotUID/SetPlatformMessagePusher/AddOrUpdatePlatformChannel 方法
- ai-core source 增加 BotUID/GroupName,platform-bridge source 增加 bot_uid/group_name
- 支持 [CQ:at,qq=xxx] @提及标签自动拼接
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:26:36 +08:00 |
|
AskaEth
|
cd053194a9
|
fix: RAG IngestDirectory 跳过 persona.md 和 _index.md
避免人格文档在RAG检索中重复出现,persona.md已通过系统提示注入。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:26:28 +08:00 |
|
AskaEth
|
dbd89f39ab
|
feat: 人格文档双层架构 — persona.md全量注入system prompt + RAG黑名单过滤
- PersonaConfig 新增 NarrativePersona 字段,在 system prompt 的「你的身份」和「你的性格」之间插入「## 你的叙事人格」
- Loader.NewLoader 自动读取同目录 persona.md 注入所有 config;Reload 同步热更新
- RAG IngestDirectory 跳过 persona.md 和 _index.md,避免重复检索浪费token
- 新增 docs/dev-plan/12-next-phase-optimization.md 下一阶段优化大纲
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-22 20:25:45 +08:00 |
|
AskaEth
|
6ef9e082a6
|
feat: 语音流式输入管线 + VAD前端集成 + 插件-工具合并清理
- 前端: VAD语音检测(@ricky0123/vad-web) + useVoiceInput双模式(流式WS/REST)
- Gateway: VoiceStreamManager代理WS流式STT到voice-service
- Voice-service: DashScope REST → Realtime WS → Whisper三级引擎 + ffmpeg转码
- 共享模块: pkg/audio(音频转换) + pkg/dashscope(ASR REST客户端)
- 清理: 移除旧plugin-manager和pkg/plugins,完成插件→工具合并
- 文档: 完善gateway-api.md和voice-service.md语音API文档
- 工具: scripts/voice/ 语音转换脚本集
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-06 11:50:40 +08:00 |
|
AskaEth
|
4954c1e58b
|
feat: 消息并行处理 + QQ卡片完整解析 + 视觉OCR融合格式修复
- platform-bridge: 8-worker per-session 并行分发,同会话保序跨会话并行
- platform-bridge: 静默消息 fire-and-forget,不阻塞同用户后续消息
- QQ卡片: html.UnescapeString 解码 NapCat HTML实体,正确解析卡片JSON
- QQ卡片: 输出含应用名/简介/来源/封面URL,封面注入图片管线走视觉
- ai-core: 视觉+OCR结果融合为单句,单图不编号,避免LLM误解为多张图
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-06 09:08:03 +08:00 |
|
AskaEth
|
67b204b23c
|
fix: 对话历史上限增至100条 + filterActions 兼容 <app> 动作标签
- 会话历史存储上限从 50 条增至 100 条
- filterActions 同时处理 <action> 和 <app> 标签(DeepSeek 偶用 <app> 替代 <action>)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-02 12:31:48 +08:00 |
|
AskaEth
|
b085e58031
|
fix: 后台思考身份混淆 + 静默模式视觉理解 + QQ卡片解析 + 仪表盘状态修复
- 后台思考对话历史增加标签说明,严格区分群聊中不同发送者
- 静默观察模式传入图片URL并预处理,供后台思考参考
- 视觉+OCR双模型结果合并格式优化,避免LLM误认为多张图片
- QQ卡片消息(CQ:json)正确解析标题/类型,不再丢失为[JSON]
- 进程管理器stop()在进程为null时重置pid/startTime,消除矛盾状态
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 21:07:25 +08:00 |
|
AskaEth
|
a9c79d7887
|
feat: ASR语音转写管线 + 群聊身份混淆修复
- 新增ASR语音识别管线: QQ语音→下载音频→qwen3-asr-flash转录→注入用户消息
- 模型名称全部从models.json路由获取,无硬编码
- 修复群聊中AI将非管理员用户误称为管理员昵称(叶酱)的问题
- 助手回复缓存时标注[回复 昵称 (UID)],防止对话历史中身份混淆
- 群聊上下文指令改为肯定性表述,移除具体名称提及
- trace面板时间戳改为YYYY-MM-DD HH:MM:SS格式,耗时统一显示为秒
- 修复Go time.Duration纳秒值在前端显示问题(Duration/1e6转毫秒)
- 新增video_tool插件模板
- 优化OpenAI adapter reasoning_content处理
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 16:46:47 +08:00 |
|
AskaEth
|
d112fdd540
|
fix: 思考对话历史中识别管理员 — 含【管理员】标记的消息标签为'管理员'而非'用户'
之前所有非昔涟的消息都标为[用户],管理员在群聊中的发言也不例外,
导致模型将管理员误认为普通群友。现在检测内容中的【管理员】前缀。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:11:10 +08:00 |
|
AskaEth
|
e5f8e42a78
|
fix: removeCodeBlocks 给每行末尾追加 \n 导致发送消息多一个换行
改为用 strings.Join 拼接,只在行间加 \n,末行不追加。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:05:52 +08:00 |
|
AskaEth
|
7e29be8ae3
|
fix: 后台思考记忆来源感知 — 不再将所有记忆标为'关于开拓者的事'
两个改动:
1. 提示词中将「你记得的关于开拓者的事」改为「你近期收集到的信息」,
并注明记忆可能来自不同对话和群聊,不都与开拓者有关
2. 思考时除管理员个人记忆外,额外检索各平台频道的群聊记忆,
以 [群聊123] 前缀标注来源,让模型能区分信息来源
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 12:58:39 +08:00 |
|
AskaEth
|
eef21fc91a
|
fix: 热重载时 nil pointer panic — ReadMessages 中 Disconnect 与错误处理竞态
热重载流程:ReplaceAdapter → old.Disconnect() 将 a.conn 置 nil →
旧的 ReadMessages goroutine 中 conn.ReadMessage() 因连接关闭返回错误 →
错误处理中 a.conn.Close() 对 nil 指针调用导致 panic。
修复:Close 前检查 a.conn != nil。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 12:46:05 +08:00 |
|
AskaEth
|
465fa4307f
|
fix: QQ发送消息时剥离Markdown格式 — 防止**粗体**等标记泄露到聊天
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 12:35:29 +08:00 |
|
AskaEth
|
3ad728406e
|
fix: 消息日志增强 + 历史消息抑制 + SSE实时追踪 + 群聊上下文优化
- 日志:收/发消息均显示群名称,管理员显示真实QQ昵称而非"开拓者"
- 历史消息:服务重启后NapCat回放的历史消息不再触发回复,静默注入上下文
- 消息时间戳:转发给AI时附带【消息时间: HH:MM:SS (XmXs前)】标记
- ♪ 分割符:QQ消息支持♪作为句子断点
- AI-Core SSE端点:全链路追踪实时推送,ethend不再5秒轮询
- 群聊上下文:AI-Core明确被告知消息来自群聊,以实际发送者为主语
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 11:49:36 +08:00 |
|
AskaEth
|
677385ec17
|
fix: 平台消息身份传递 — AI-Core 收到正确昵称而非永远 fallback 到管理员
- forwardToAICore 新增 nickname 字段,格式 "昵称 (QQ号)" 明确标识发送者
- 解决非管理员用户 @昔涟 时 AI 仍认为是管理员的身份污染问题
- 同时包含:管理员群聊插入抑制、markdown 粗体剥离、SearXNG 容器、ethend 窗口隐藏
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 10:17:27 +08:00 |
|
AskaEth
|
47dce276a4
|
fix: platform_silent记忆提取 + 群聊上下文整合 + 多QQ实例支持
- platform_silent模式接入Orchestrator记忆提取:被动观察群聊时提取值得记住的信息到对应命名空间
- post_chat后台思考注入平台观察:对话后思考也能看到群聊摘要
- QQ适配器:OneBot v11 self_id动态捕获、CQ图片URL提取、视觉+OCR并行处理
- Router解耦:ConfigName/PlatformName分离,支持多QQ实例独立连接
- 黑白名单功能:后端API + Ethend代理 + UI面板
- \n\n双换行断句:AI回复按双换行分割为多条消息按间隔发送
- @提及修复:bot自感知UID进行@检测
- 群聊上下文共享:channel-based userID避免记忆碎片化
- 消息日志显示处理后内容而非原始SSE数据
- platform-bridge Dockerfile + docker-compose.yml更新
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 09:37:18 +08:00 |
|
AskaEth
|
71f0a1abdb
|
feat: Go模块路径迁移 + Docker生产部署适配 + ethend Docker兼容
- 所有Go模块路径从 github.com/yourname/cyrene-ai 迁移到 git.yeij.top/AskaEth/Cyrene
- 5个Go Dockerfile添加 GOPROXY=https://goproxy.cn,direct 解决国内构建问题
- ai-core go.mod 添加 pkg/plugins replace 指令
- Caddyfile 简化为 http:// 通配 + handle 保留 /api 前缀
- ethend Dockerfile 适配 (npm install + 仅 COPY package.json)
- ethend 新增 RUNNING_IN_DOCKER 环境变量,健康检查改用Docker服务名
- ethend 数据库状态检查支持Docker hostname (postgres/redis/qdrant/minio)
- process-manager 新增 CONTAINER_SVC_MAP + Docker模式自动检测
- 统一 docker-compose.dev.db.yml 卷名 (pg_data/redis_data/qdrant_data/minio_data)
- docker-compose.yml ethend服务挂载docker.sock + 端口变量化
- 清理 .env 统一后的残留文件与提示信息
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 13:43:22 +08:00 |
|
AskaEth
|
46441335c0
|
refactor: 统一 .env 配置 — 合并 backend/.env + .docker.env 到根目录
- Go 服务 godotenv.Load("../.env") → godotenv.Load("../../.env")
- ethend.sh/config.js 读取路径改为根目录 .env
- 删除 .docker.env.example 和 backend/.env.example,统一为 .env.example
- Docker compose 默认读取根 .env,无需 --env-file
- 同步更新全部文档
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 10:12:54 +08:00 |
|
AskaEth
|
a25b8ccd08
|
fix: 移除误提交的临时文件和无关文件
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 09:32:56 +08:00 |
|
AskaEth
|
365f5ceb2f
|
refactor: DevTools → ethend 重命名 + 加入生产环境
- 目录 devtools/ → ethend/
- CLI 脚本 devtools.sh/.bat → ethend.sh/.bat
- 环境变量 DEVTOOLS_PORT → ETHEND_PORT
- docker-compose.yml 新增 ethend 服务(生产部署)
- 同步更新全部文档、注释和配置文件
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 09:32:36 +08:00 |
|
AskaEth
|
617f44a2fb
|
fix: Docker 生产部署构建上下文 — 统一 Dockerfile 从仓库根复制 shared pkg
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 08:46:06 +08:00 |
|
AskaEth
|
22d7b91cb1
|
feat: Gateway 消息排队机制 — 同会话串行化处理
同一 session 的消息按顺序处理:当前回复未完成时新消息进入队列,
完成后自动消费下一条。避免并发请求导致上下文竞争和响应交错。
客户端收到 type:"queued" 时可显示排队状态。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-29 21:06:59 +08:00 |
|
AskaEth
|
85f7f90318
|
fix: 修复间隔对话后首条回复为上一次对话内容的问题
根因:用户消息在回复完成后才缓存到 ConversationStore,而 assistant
回复在 orchestrator 中先缓存,导致存储顺序为 assistant → user 颠倒。
下次请求时 LLM 看到连续两条 assistant 再连续两条 user,对两条 user
消息都生成回复。
修复:将用户消息缓存移到 orchestrator 调用之前,确保 user → assistant
正确顺序;synthesizer 中对 DialogHistory 末尾与当前消息相同的 user
消息去重。
同时包含之前的 action 消息类型检测修复(isActionLike 启发式 +
injector XML 标签格式改进)。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-29 21:00:15 +08:00 |
|