Commit Graph

29 Commits

Author SHA1 Message Date
Kevin
80c8844436 更新workflow 2026-03-22 19:06:37 +08:00
Kevin
d8378bb326 chore/ 删除过期文档和skills 2026-03-22 18:17:43 +08:00
Kevin
70070216c4 修复一些已知问题 2026-03-20 17:25:42 +08:00
Kevin
8af37e5e8e 修复:CI 部署环境与 ref 错配、迁移碎片化、图片意图 source_span、章节物化脏版式、会话历史与本地语音不一致
新增:TTS 上传 COS 与分片、章节 reading_segments 物化与快照、markdown 清洗、会话消息 repository、语音 store 重构与相关测试
2026-03-20 16:43:02 +08:00
Kevin
15512834d2 feat/ 添加app-expo三种环境切换,待测试 调整tts 2026-03-19 09:58:02 +08:00
Kevin
b4f4369b7d Squash merge feat/expo-app: app-expo, .cursor, workflows, package.json, .husky; remove app-android, app-ios, react-app 2026-03-19 01:13:38 +08:00
Sully
c2ce4c61f1 修复版本1.0.7的若干问题 (#11)
* fix/ 0:00 audio ui

* fix/ persist memoir image state and collapse voice history

Keep generated chapter images from staying in processing after successful uploads, and restore segmented voice recordings as a single audio message when reopening conversations.

Made-with: Cursor

* fix/ persist local conversation state and stabilize voice UI

Keep CreateMemory conversations driven by Room so recent text and audio survive page exits, and prevent stale 0:00 voice bubbles while list ordering follows the latest local message time.

Made-with: Cursor

* fix/ server-side root cause for conversation list time and message timestamps

- Add Conversation.last_message_at column with migration and index
- Update last_message_at on text message, audio segment, and AI response
- Sort conversation list by COALESCE(last_message_at, started_at) DESC
- Return real per-message timestamps from Redis history instead of now()
- Pass user_message_timestamp through agent pipeline to avoid LLM delay skew
- Remove all debug logging from server, client, and CI workflow
- Restore import json in conversation_agent (was broken by debug removal)
- Client: remove DebugRuntimeLogger, stop sending transcript as text message

Made-with: Cursor

---------

Co-authored-by: Kevin <kevin@brighteng.org>
2026-03-14 23:58:46 +08:00
Sully
9636c059d0 更新docker构建cd (#10)
* update github actions

* update github actions

* update github actions

* update github actions

* update github actions

* update github actions

* update github actions

---------

Co-authored-by: Kevin <kevin@brighteng.org>
2026-03-13 23:41:56 +08:00
Kevin
55b342b623 update github actions 2026-03-13 22:16:59 +08:00
Kevin
862f8c43d1 fix/ android-release-build workflow 2026-03-13 17:21:42 +08:00
penghanyuan
4a331428f7 feat: 优化部署流程和数据库迁移
- 更新 GitHub Actions 工作流,调整部署步骤,先启动数据库服务以确保迁移顺利进行。
- 新增启动所有服务的步骤,确保在迁移完成后启动全部服务。
- 在 SQL 脚本中添加锁定超时设置,提升数据库操作的稳定性。
2026-03-01 11:12:04 +01:00
penghanyuan
c1e2fb31a0 Merge branch 'feat/improve-agent-prompt' 2026-03-01 10:12:23 +01:00
penghanyuan
39736a2ae2 feat: 添加章节管理功能以支持清除回忆
- 在数据库模型中新增 is_active 字段,用于标记章节是否启用。
- 添加数据库迁移脚本以更新现有章节,确保默认值为 TRUE。
- 更新章节相关的 API 以仅返回 active 章节,并实现清除章节的功能。
- 在 Android 客户端中实现清除章节的确认弹窗和相应的 API 调用,提升用户体验。
2026-02-14 10:57:51 +01:00
penghanyuan
7fe0b70d5c feat: 增强对话代理以检测用户阶段并更新章节排序
- 在 api/agents/conversation_agent.py 中添加 _detect_user_stage 方法,以通过关键词检测用户谈论的人生阶段。
- 在 api/agents/memory_agent.py 中更新章节排序逻辑,使用 STAGE_TO_ORDER 替代 CHAPTER_ORDER。
- 在 api/agents/state_schema.py 中添加方法以获取各阶段的填充情况。
- 在 api/agents/prompts/conversation_prompts.py 中更新对话提示,包含用户阶段检测和整体进度信息。
- 在 api/migrations/fix_chapter_order_index.sql 中添加 SQL 脚本以修复章节 order_index 的问题。
- 更新相关文档和提示以反映新功能。
2026-02-13 21:45:56 +01:00
penghanyuan
cbd842a647 chore: 更新部署脚本以复制 .env.production 文件
- 在 .github/workflows/docker-build-deploy.yml 中添加复制 .env.production 文件的步骤,以确保在远程服务器上保留原始环境配置。
2026-02-13 20:43:52 +01:00
iammm0
c35cbaa94e ci: 更新 CI 工作流
- 更新 .github/workflows/README.md
- 更新 .github/workflows/android-release.yml

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 10:04:59 +08:00
iammm0
405a7c73f1 ci: 更新 Docker 构建部署工作流
- 更新 .github/workflows/docker-build-deploy.yml

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 14:42:22 +08:00
iammm0
c0ca5e0dbd chore: 更新gitignore与CI工作流
- 更新.gitignore
- 更新.github/workflows/README.md
- 新增android-release.yml Android发布流程

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 16:06:22 +08:00
iammm0
e24152295d 更新 2026-02-10 14:32:01 +08:00
iammm0
6744263773 更新 2026-01-28 16:19:56 +08:00
iammm0
f516ff1187 更新 2026-01-28 16:15:57 +08:00
penghanyuan
5e7cef73b0 feat: 添加 .env.production 文件的复制步骤到部署流程
- 在docker-build-deploy.yml中新增将.env.production文件复制到远程服务器的步骤,以确保环境变量配置的正确性。
2026-01-27 23:13:24 +01:00
iammm0
a2702ab2d1 更新 2026-01-27 16:01:27 +08:00
iammm0
9a2872d590 更新 2026-01-27 15:57:46 +08:00
iammm0
2734925845 更新 2026-01-27 15:46:16 +08:00
iammm0
0d9beec27e 更新 2026-01-27 15:42:35 +08:00
iammm0
c4111697dd 更新 2026-01-27 15:27:28 +08:00
iammm0
9f4e0a2bd0 更新 2026-01-27 14:42:05 +08:00
iammm0
084075dcdb ci: 新增GitHub Actions CI/CD配置
- 新增.github/工作流配置
2026-01-26 11:54:20 +08:00