Commit Graph

2 Commits

Author SHA1 Message Date
imeepos 74ca367081 🐛 fix: 修复 template run 数据格式与 identifier 缺失问题
主要修复:
1.  添加 transformFormDataToRunFormat 函数转换表单数据
2.  根据节点类型正确格式化数据:
   - image: { images: [{ url: "..." }] }
   - video: { videos: [{ url: "..." }] }
   - text: { texts: ["..."] }
   - select: { selections: "..." } (单选) / ["..."] (多选)
3.  添加 identifier 字段到 API 请求
4.  从 storage 获取用户 session 作为 identifier

修复问题:
-  之前:{ "data": { "node_xxx": "blob:..." } }
-  现在:{ "data": { "node_xxx": { "images": [{ "url": "..." }] } }, "identifier": "user-id" }

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:30:03 +08:00
imeepos 7e3f94bae3 Initial commit: Expo app with Better Auth integration
- Complete Expo React Native app setup with TypeScript
- Better Auth authentication system integration
- Secure storage implementation for session tokens
- Authentication flow with login/logout functionality
- API client configuration for backend communication
- Responsive UI components with themed styling
- Expo Router navigation setup
- Development configuration and scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 10:32:52 +08:00