9 Commits

Author SHA1 Message Date
linshen
2e52c0b680 chore: slim deployment contexts 2026-05-19 23:48:05 +08:00
linshen
93ec7d4581 feat: 优化桌面应用版本控制与构建流程
- 更新桌面应用版本至1.2.0,反映最新功能改进。
- 同步版本脚本新增桌面应用包文件版本同步支持。
- 更新`dev.md`,新增Desktop开发命令与分支管理策略。
- 优化`package.json`,简化构建流程并支持并行构建。
- 更新`vercel.json`,添加Git部署配置,确保主分支自动部署。
2025-07-05 14:52:46 +08:00
且炼时光
47226036b3 集成Vercel Analytics (#101)
* build(web): 集成Vercel Analytics

- 在 main.js 中添加 Vercel Analytics 动态导入和初始化代码
- 修改 vercel.json,在安装依赖时添加 @vercel/analytics 包

* build:优化 Vercel部署时的安装命令- 将 pnpm add 替换为 pnpm i -w,使用工作区模式安装 @vercel/analytics 依赖
- 优化安装命令的可读性和效率

* perf(analytics): 优化 Vercel Analytics 加载策略

-根据环境变量 VERCEL_DEPLOYMENT 决定是否加载 Analytics- 改为通过 script 标签直接加载 Analytics 脚本
- 延迟加载以确保 DOM 完全加载
- 更新版本号至 1.0.4

* build(env): 更新环境变量前缀以隔离 Vite 配置- 将环境变量 VERCEL_DEPLOYMENT 重命名为 VITE_VERCEL_DEPLOYMENT
- 在Vite 项目中,建议使用VITE_ 前缀来定义环境变量
- 更新相关代码以使用新的环境变量名称
2025-05-11 23:28:45 +08:00
linshen
bf9d98eb69 新增 Vercel 跨域代理支持和环境检测功能
- 在核心服务中添加 Vercel 环境检测和代理工具函数
- 更新 LLM 服务,支持通过 Vercel 代理解决跨域问题
- 扩展模型配置类型,新增 `useVercelProxy` 选项
- 在 ModelManager 组件中添加 Vercel 代理可用性检测和配置
- 更新技术开发指南,详细说明跨域代理解决方案
- 调整 Vercel 配置,支持 API 代理和环境变量设置
2025-03-03 00:25:02 +08:00
linshen
59c2c7db80 feat: 添加 Star 趋势图并优化 Vercel 部署配置
- 在 README 中嵌入 Star History 趋势图,展示项目受欢迎程度
- 重构 Vercel 配置:适配vercel对于多模块项目时错误自动识别根目录为packages/extension
2025-02-28 23:13:34 +08:00
linshen
187635e71a chore: Update Vercel build command to include core and UI packages 2025-02-16 00:24:14 +08:00
linshen
9be9f6b3ae refactor: Migrate project to monorepo structure with pnpm workspaces
- Convert project to monorepo with separate web and extension packages
- Update package.json scripts to support pnpm workspace commands
- Remove individual configuration files from root directory
- Adjust Vercel configuration for monorepo deployment
- Prepare for Chrome extension development
- Remove existing web application source files in preparation for restructuring
2025-02-13 22:51:28 +08:00
linshen
8cd1808db6 chore: Streamline environment configuration and README updates
- Simplify README environment variable section
- Update Vercel configuration to remove API key descriptions
- Prepare for more flexible API key management
2025-02-12 21:02:12 +08:00
linshen
9bde8b046a docs: Add Vercel deployment instructions and trim API keys
- Update README with one-click Vercel deployment button
- Add detailed deployment steps for Gemini and DeepSeek API keys
- Modify defaults.ts to trim API key environment variables for better handling
2025-02-12 20:02:41 +08:00