Commit Graph

26 Commits

Author SHA1 Message Date
fyah
52443bffc2 更新 shenyan-app: 冰箱贴独立输入框 + push-server + APNs图标 + 完整.gitignore
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 20:15:17 +08:00
2a053ab88e 更新 shenyan-app: HealthKit+WeatherKit+冰箱贴+pare+三区布局
- HealthKitBridge.m: 自定义原生模块,心率/步数/睡眠采集
- WeatherKitBridge.swift/m: 天气模块,当前+每日+每小时预报
- pare.py: 身体数据陡度监控,阈值告警→inbox+冰箱贴
- cyberboss: 5-20分钟随机唤醒,pare→decide→push
- 冰箱贴: 纸质感卡片,黑字多级透明度,独立输入框
- 首页三区无视觉布局: 左门/中记录/右冰箱
- 端口3003→3004(VS Code占用)
- 聊天屏锚定底部滚动

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 19:14:32 +08:00
d07d50dde5 更新 shenyan-app: APNs后台推送 + 通知点开进门 + cyberboss主动联系
- APNs: 修复AppDelegate推送回调转发(Bridging Header),设备token注册成功
- 通知: 点开系统通知直接进聊天屏, badge自动清零
- 主动联系: cyberboss守护进程, 3-60分钟随机判断, 按沈晏规则决定是否推送
- 气泡: 左右统一25%白色背景
- push-notification-ios包集成, Podfile更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 12:59:47 +08:00
5c50698d64 更新 shenyan-app: 双桥通信 + 定制横幅推送 + APNs Key
- 双桥:Mac桥(Claude Code异步) + IDC桥(DeepSeek同步)
- 推送:自制定制Animated横幅 + 震动,替代Alert弹窗
- APNs:Key已创建(3VJ5X6V9Q8),桥端apns.js已写好
- 图标:已替换为定制图标
- BlurView/notifee:iOS 26兼容问题已回退
- 记忆库更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 01:49:32 +08:00
a61696f0a1 添加 shenyan-app 项目源码
- 首页 bridge 状态轮询 + 双击敲门进聊天
- 聊天屏本地桥通信(192.168.31.51:3003)
- 消息持久化(AsyncStorage + 桥历史接口)
- 桥服务器(port 3003)launchd 持久化
- 进度总览文档

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 00:33:57 +08:00
4d7110c58d add shenyan-app RN project + PWA push/noise updates 2026-05-13 17:38:35 +08:00
fyah
66f94f0fcf 合并: 清空按钮 + 背景图 + 模糊效果
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 21:12:26 +08:00
fyah
9260f4dc1e PWA: 页面背景图 + 对话气泡与输入区模糊效果
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 21:09:09 +08:00
fyah
bee523cd4e 记忆更新 2026-05-11 13:45 2026-05-11 13:45:55 +08:00
fyah
7680ae53a3 PWA对话持久化:localStorage,刷新不丢 2026-05-09 13:54:09 +08:00
fyah
35501c5e6e 备份 Claude Code memory 文件 2026-05-09 13:43:57 +08:00
fyah
cf71a9a619 记忆更新 2026-05-09 13:40 2026-05-09 13:40:06 +08:00
fyah
4ea48b9bd8 添加记忆同步脚本 2026-05-09 13:36:27 +08:00
fyah
c08424a4dc PWA对话界面重构 + 记忆库桥接
- 纯对话界面:消息气泡、深灰输入框
- 桥接服务接入 DeepSeek API
- 记忆库文件纳入 mao1 仓库(含沈晏身份/对话规则)
- 移除 ModelSelector、光晕效果等无关元素

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 13:33:12 +08:00
fyah
91a8b6b7e4 feat: add PWA — mobile multi-model chat app (Vite + React)
- Vite + React + TypeScript + Tailwind v4
- vite-plugin-pwa for service worker and manifest
- Dark mode, borderless design with glow effects
- Reuses Elec components, adapted for mobile viewport
- Standalone-ready: can install to phone home screen

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 12:19:19 +08:00
fyah
e5409c81bb fix: move React source into src/renderer/ — electron-vite renderer root
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:39:45 +08:00
fyah
43a599fc14 fix: use absolute /src/main.tsx path for dev server resolution
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:36:07 +08:00
fyah
865d2e2f65 chore: remove debug test text
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:34:32 +08:00
fyah
1d459b14e7 fix: use ELECTRON_RENDERER_URL (electron-vite sets this, not VITE_DEV_SERVER_URL)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:33:30 +08:00
fyah
8bd977987a fix: restructure Elec to match electron-vite expected layout
- Move index.html to src/renderer/ (electron-vite hard requirement)
- Flatten React source to src/ (main.tsx, App.tsx, components/)
- Remove debug red background
- Use @tailwindcss/postcss plugin

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:31:38 +08:00
fyah
18928b3d16 debug: red background test to check renderer loading
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:27:03 +08:00
fyah
6aa9f7ff49 fix: use @tailwindcss/postcss for Tailwind v4 compatibility
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:24:17 +08:00
fyah
9750a7c865 fix: add tailwindcss PostCSS plugin
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:20:31 +08:00
fyah
a0c24ee13e fix: add main field to Elec package.json
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:17:46 +08:00
fyah
0ee021e613 feat: add Elec — dark mode multi-model chat UI
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 11:14:28 +08:00
fyah
e9daabb821 feat: scaffold anchor-desktop 2026-04-27 12:12:56 +08:00