diff --git a/.trellis/workspace/zl-q/index.md b/.trellis/workspace/zl-q/index.md index 75fc279..3488851 100644 --- a/.trellis/workspace/zl-q/index.md +++ b/.trellis/workspace/zl-q/index.md @@ -8,8 +8,8 @@ - **Active File**: `journal-1.md` -- **Total Sessions**: 5 -- **Last Active**: 2026-04-20 +- **Total Sessions**: 6 +- **Last Active**: 2026-04-29 --- @@ -19,7 +19,7 @@ | File | Lines | Status | |------|-------|--------| -| `journal-1.md` | ~288 | Active | +| `journal-1.md` | ~335 | Active | --- @@ -29,6 +29,7 @@ | # | Date | Title | Commits | |---|------|-------|---------| +| 6 | 2026-04-29 | 新增追问模式和英文输出优化 | `16cb47e` | | 5 | 2026-04-20 | Do Not Sell My Personal Information 开关 | `913ed26f8de434a64d795a68a5326e2aa34ad358` | | 4 | 2026-04-20 | 用户反馈投送功能 | `6a2a9d2c87e1e1dd35a23ff2e184b6ed9f04d03d` | | 3 | 2026-04-16 | 修复通知 targets 约束、合并注册脚本、路径缩短及清理重复索引 | `c79c773` | diff --git a/.trellis/workspace/zl-q/journal-1.md b/.trellis/workspace/zl-q/journal-1.md index a4cfeb8..9799cb9 100644 --- a/.trellis/workspace/zl-q/journal-1.md +++ b/.trellis/workspace/zl-q/journal-1.md @@ -286,3 +286,50 @@ ### Next Steps - None - task complete + + +## Session 6: 新增追问模式和英文输出优化 + +**Date**: 2026-04-29 +**Task**: 新增追问模式和英文输出优化 + +### Summary + +(Add summary) + +### Main Changes + +| Feature | Description | +|---------|-------------| +| 追问模式 | 新增 follow_up runtime mode,支持用户对解卦结果追问 | +| 英文输出优化 | 重构 worker_rules.py,英文输出面向普通读者,最小化中文字符 | +| iOS 本地化 | 新增 en/zh-Hans/zh-Hant 的 InfoPlist.strings | +| 国际化术语 | 添加五行、六神、地支等术语的多语言翻译 | +| 输出模型重构 | AgentOutput → PersistedAgentOutput,新增 SignLevel 枚举 | + +**Updated Files**: +- `backend/src/core/agentscope/prompts/worker_rules.py` - 重构英文输出规则 +- `backend/src/core/agentscope/prompts/user_prompt.py` - 优化语言约束 +- `backend/src/core/agentscope/prompts/agent_prompt.py` - 支持 follow_up 模式 +- `backend/src/schemas/agent/runtime_models.py` - 重构输出模型 +- `apps/lib/l10n/*.arb` - 新增五行、六神等术语翻译 +- `apps/ios/Runner/*.lproj/InfoPlist.strings` - iOS 本地化 + + +### Git Commits + +| Hash | Message | +|------|---------| +| `16cb47e` | (see git log) | + +### Testing + +- [OK] (Add test results) + +### Status + +[OK] **Completed** + +### Next Steps + +- None - task complete