peanut
d3746fa6c7
feat: AI端点测试动态参数表单、接口工作流行内测试、本地开发环境改为线上域名
...
- 后端新增 /ai/endpoint/test 和 /ai/endpoint/stream 接口,支持直接端点测试
- 前端增加行内测试功能(场景绑定+接口工作流)
- 测试对话框增加动态参数表单和参数定义编辑
- 支持 _meta 格式的默认输入参数处理
- web、web-admin 本地开发环境 API 调用改为线上域名 https://lifescript.happylifeos.com
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-23 16:10:24 +08:00
peanut
e06b22ad69
feat: AI 测试对话框增加动态参数表单和参数定义编辑
...
- 测试对话框支持从 defaultInputs 解析参数并渲染动态表单
- 支持 _meta 格式的参数定义(label/type/required/value)
- 接口工作流编辑页面增加参数定义区域(增删改)
- 后端 AiTemplateRenderer.mergeInputs 兼容 _meta 格式
- JSON 编辑区折叠为「高级编辑」模式
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-23 15:01:21 +08:00
peanut
cccb720060
feat: 后端新增 /ai/endpoint/test 和 /ai/endpoint/stream 接口
...
- AiRuntimeRequest DTO 新增 endpointId 字段
- AiRuntimeService 接口新增 testEndpoint 和 invokeEndpointStream
- AiRuntimeServiceImpl 实现 endpoint 直调链路(绕过场景解析)
- AiRoutingController 新增 /endpoint/test 和 /endpoint/stream
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-23 14:13:25 +08:00
peanut
89fc42819d
feat: AI 场景路由、ASR 服务及前后端全链路同步
...
- 新增 AI 场景路由控制器和管理接口
- 新增 ASR 语音识别服务及前后端集成
- 同步 AI Runtime 客户端到 Web/小程序/Life-Script
- 完善 AI 配置测试修复和管理后台路由配置
- 新增数据库迁移脚本
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-23 13:25:21 +08:00
peanut
d77090aa5e
fix: 修复 Dify 非流式测试 user_id 缺失和超时问题
...
- enrichInputs 增加 user_id 下划线字段注入(Dify API 要求下划线格式)
- testAiRuntime 接口超时从 15 秒延长到 60 秒
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-23 13:19:18 +08:00
peanut
ee5a6aba5d
feat: 小程序脚本首页重构 + 社交数据导入 + TTS 播放优化
...
- 后端:新增社交数据导入/审批/洞察生成 API(SocialContent/SocialInsight)
- 后端:优化脚本上下文服务,TTS 服务增强
- 小程序:重构脚本首页布局,新增社交导入页面
- 小程序:新增 useTtsPlayer composable,移除旧 ScriptAudioPlayer 组件
- 小程序:新增社交导入服务,优化请求服务
- SQL:新增社交数据导入建表脚本
- 文档:补充设计文档和实施计划
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-20 07:18:02 +08:00
peanut
6b426c2b68
feat: add script tts backend
2026-05-17 16:36:06 +08:00
peanut
3decff526a
feat: add analytics backend
2026-05-17 10:14:08 +08:00
peanut
755059807a
feat: 优化管理后台页面UI、修复TS编译错误、新增人生事件模块
...
- 优化 AI 配置列表页面:重构统计卡片、搜索表单、表格列展示
- 修复 3 处 TypeScript TS6133 编译错误,恢复构建
- 新增管理员修改密码和重置密码功能
- 优化小程序多个页面样式和交互
- 人生事件模块完善
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-10 23:23:09 +08:00
peanut
60c63850ee
feat: 修复 Redis 超时问题、固定小程序端口、新增人生事件模块及优化多个页面
...
- 修复 Redis 超时:添加 commons-pool2 依赖,启用 Lettuce 连接池,超时提升至 15s
- 固定 mini-program H5 端口为 5175,避免与 web 项目端口冲突
- 新增人生事件(life-event)模块:表单和详情页面
- 新增 EpicScript 灵感接口(Controller/Service/DTO)
- 优化登录、引导、主页、记录、剧本详情等多个页面
- 优化服务管理脚本和 Nginx 配置
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-10 11:38:35 +08:00
peanut
507d1ebdab
chore: 修改 local 配置,使用与 prod 一致的 MySQL 和 Redis 配置
...
将本地数据库和 Redis 从 localhost 改为远程服务器 101.200.208.45,
包括密码、连接池参数等与生产环境保持一致,确保本地开发与生产环境一致。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-08 23:55:38 +08:00
peanut
f4bc9f6dab
后台管理功能补充
2025-12-25 00:13:42 +08:00
peanut
31cc78038b
增加修改和删除功能
2025-12-24 15:20:58 +08:00
peanut
1aa39e11b4
life-script启动后地址栏无限重复切换bug修复
2025-12-24 11:38:48 +08:00
peanut
700438ca42
AI对话bug修复
2025-12-23 23:04:32 +08:00
peanut
56cacb7163
人生轨迹功能完善
2025-12-23 22:10:25 +08:00
peanut
97abbefaa3
bug修复
2025-12-23 17:43:33 +08:00
peanut
7f89fd17d3
AI配置增加字段适配处理
2025-12-23 16:51:53 +08:00
peanut
1fefd98d74
bug修复
2025-12-22 23:40:47 +08:00
peanut
7d53a059d7
添加字典功能及初始化数据
2025-12-22 21:56:10 +08:00
peanut
180fe20347
Coze接口配置及调用变更
2025-12-22 18:02:35 +08:00
peanut
26574e3db7
前端重构实现
2025-12-22 16:38:06 +08:00
peanut
cd6d995d5a
人生轨迹功能模块补充
2025-12-22 14:50:14 +08:00
peanut
cfd12f01db
新增人生轨迹模块代码
2025-12-21 17:44:59 +08:00
peanut
bbe79ecffb
仪表盘功能完善
2025-10-31 14:33:57 +08:00
peanut
778f05daa5
仪表板功能完善
2025-10-31 14:23:38 +08:00
peanut
cafbae4324
管理端登录报错修复
2025-10-31 13:57:49 +08:00
peanut
e69e9920fe
对话接口bug修复及后台管理功能完善
2025-10-31 13:37:15 +08:00
peanut
69ffda358f
对话bug修复
2025-10-30 17:34:05 +08:00
peanut
093d07ab76
AI接口支持流式调用
2025-10-30 15:59:48 +08:00
peanut
9ddc6887ff
AI配置模块功能完善
2025-10-30 15:12:07 +08:00
peanut
8b6e3d0815
后台管理功能开发,AI配置管理
2025-10-30 14:50:44 +08:00
peanut
dc0413d084
修复:解决管理员token访问用户接口401问题
...
- 修改AuthInterceptor使用JwtUtil直接验证token,支持管理员和普通用户
- 移除AuthService的Redis检查依赖,使用JWT本身的验证机制
- 添加用户类型(userType)信息到请求属性中
- 完善用户上下文设置和清理逻辑
- 添加详细的调试日志
修复内容:
1. 统一token验证:管理员和普通用户token都通过JwtUtil验证
2. 移除权限限制:当前阶段不限制token类型对接口的访问权限
3. 保留扩展性:userType字段为后期权限控制预留配置
4. 验证通过:管理员登录后可以正常访问所有接口
2025-10-30 13:37:17 +08:00
peanut
f7a3868f34
后台管理功能实现
2025-10-28 17:30:47 +08:00
peanut
0016453f20
增加后台管理模块
2025-10-27 23:57:31 +08:00
peanut
3c1ba8e801
CozeAPI更换
2025-10-27 16:33:39 +08:00
peanut
df818578e5
bug修复
2025-10-26 23:26:30 +08:00
peanut
accd1ae9da
聊天页bug修复
2025-10-26 17:43:24 +08:00
peanut
2e243c7671
优化处理
2025-10-26 16:59:50 +08:00
peanut
fdac026720
不再使用的代码清理
2025-10-26 15:34:05 +08:00
peanut
20c8d781c4
redis配置更新
2025-10-13 15:49:40 +08:00
peanut
71a0be2280
redis配置修改
2025-10-13 15:48:29 +08:00
peanut
bc3ed2d872
代码优化
2025-10-13 10:43:08 +08:00
peanut
b6818b179c
优化并移除不再有任何用处的文件
2025-09-12 14:12:56 +08:00
peanut
fcd35c78e5
优化
2025-09-09 11:13:36 +08:00
peanut
cf50a9f1fa
优化
2025-09-08 18:01:24 +08:00
peanut
d42d689bd7
接口优化
2025-09-08 17:54:12 +08:00
peanut
cc886cd4d5
feat: 完成情绪博物馆项目重构和功能增强 - 新增日记评论和帖子功能 - 重构前端架构,优化用户体验 - 完善WebSocket通信机制 - 更新项目文档和部署配置
2025-07-27 10:05:59 +08:00
peanut
6903ac1c0d
优化CozeAPI调用保存逻辑和前端图标修复
...
- 修复前端TrendingUpOutlined图标导入错误,改为LineChartOutlined
- 优化CozeAPI调用记录保存逻辑:
* 正确保存创建人和更新人字段为当前用户ID
* 正确传递和保存message_id字段
* 新增带messageId的WebSocket聊天方法重载
- 修复WebSocket处理器中的用户消息保存逻辑
- 确保CozeApiCallService正确设置创建人和更新人字段
- 改进AI回复保存时的创建人设置逻辑
2025-07-26 10:46:47 +08:00
peanut
0dfabc35d7
优化调整
2025-07-26 00:37:18 +08:00