Commit Graph

27 Commits

Author SHA1 Message Date
google-labs-jules[bot]
1270405907 🔒 fix: Command Injection in install-manager.ts and CI failures
- Set `shell: false` in `spawn` calls in `install-manager.ts` to prevent command injection.
- Updated `AGENTS.md` to use the secure `shell: false` pattern in examples.
- Removed `package-lock.json` from `.gitignore` to support reproducible builds.
- Updated GitHub Actions workflows to use `npm install` instead of `npm ci` as a robust fallback.

Co-authored-by: vmomenv <51269338+vmomenv@users.noreply.github.com>
2026-03-10 16:08:16 +00:00
cef68a95d9 chore: add comprehensive documentation and testing infrastructure
## 文档(全部中文)
- AGENTS.md - 完整的 AI 编码指南(中文版)
- CONTRIBUTING.md - 贡献指南
- DEVELOPMENT.md - 开发文档
- DEPLOYMENT.md - 部署文档
- TESTING.md - 测试文档
- TROUBLESHOOTING.md - 问题排查指南
- FAQ.md - 常见问题
- WORKFLOW.md - 标准开发流程文档
## AI 工作流(9个详细工作流)
- feature-development.md - 新功能开发流程
- bug-fix.md - Bug 修复流程
- code-review.md - 代码审查流程
- testing.md - 测试编写流程
- release.md - 发布流程
- refactoring.md - 代码重构流程
- documentation.md - 文档更新流程
- performance-optimization.md - 性能优化流程
- security-audit.md - 安全审计流程
## 测试基础设施
- vitest.config.ts - Vitest 单元测试配置
- playwright.config.ts - Playwright E2E 测试配置
- src/__tests__/setup.ts - 测试环境设置
- src/__tests__/unit/downloadStatus.test.ts - 示例单元测试
- e2e/basic.spec.ts - 示例 E2E 测试
## CI/CD
- .github/workflows/test.yml - 新建测试 CI 工作流
- .github/workflows/build.yml - 更新构建工作流,添加测试步骤
## Issue 模板
- 更新 bug_report.md 为标准 Bug 报告模板
- 更新 help_wanted.md 为标准功能请求模板
## 配置更新
- package.json - 添加测试依赖和 7 个新的 npm 脚本
- .gitignore - 添加测试相关忽略项
## 新增 npm 脚本
- test - 运行单元测试
- test:watch - 监听模式
- test:coverage - 生成覆盖率报告
- test:e2e - 运行 E2E 测试
- test:e2e:ui - E2E UI 模式
- test:e2e:debug - E2E 调试模式
- test:all - 运行所有测试
## 新增测试依赖
- @playwright/test ^1.40.0
- @testing-library/jest-dom ^6.1.5
- @testing-library/vue ^8.0.1
- @vitest/coverage-v8 ^1.0.0
- @vue/test-utils ^2.4.3
- jsdom ^23.0.1
- vitest ^1.0.0
2026-03-10 00:42:56 +08:00
Elysia
7aae00e272 ops(ci): add release job and update node version 2026-02-15 00:09:29 +08:00
Yinan Qin
98cc18dc96 Delete .github/workflows/ci.yml 2026-01-31 23:29:26 +08:00
Elysia
95d358fb6e chore: 更新版本号至 1.0.4-beta.1,并为 host-spawn 添加可执行权限 2026-01-31 21:36:13 +08:00
Elysia
850b8dcd1f feat: 添加 host-spawn 下载步骤并更新应用启动命令 2026-01-31 21:27:31 +08:00
Elysia
a4049ba30b chore: update version to 1.0.3 and remove release event from build workflow 2026-01-31 18:33:34 +08:00
Elysia
3fe37f2773 build: add architecture to artifact name 2026-01-31 10:47:15 +08:00
Elysia
354eea3626 fix(build): add bash shell to build release files 2026-01-31 10:46:37 +08:00
Elysia
3a4a116a7c refactor(ci): replace inline conditionals with if-else in build.yml 2026-01-31 10:42:54 +08:00
Elysia
b185b40161 build: add arm64 architecture support 2026-01-31 10:40:11 +08:00
Elysia
150c57038d refactor: 更新构建配置,添加对发布事件的支持;更新依赖项以确保兼容性 2026-01-30 22:27:48 +08:00
Elysia
9ee8339577 fix: 更新上传工件路径以支持不同包类型 2026-01-28 19:54:55 +08:00
Elysia
bc2f79114c fix: 更新构建依赖,添加构建工具支持 2026-01-28 19:25:50 +08:00
Elysia
f8f163e3b8 fix: 更新构建依赖,添加python3支持 2026-01-28 19:23:05 +08:00
Elysia
1c791cd3c8 fix: 更新构建依赖,移除不必要的包并优化安装命令 2026-01-28 19:21:16 +08:00
Elysia
640e0bd69d feat: 添加对deb和rpm包的构建支持,更新构建依赖和版本信息 2026-01-28 19:18:45 +08:00
Elysia
c7b3257a2c feat(deeplink): implement custom deep link handling and remove electron-app-universal-protocol-client 2026-01-18 00:45:25 +08:00
Elysia
a476db84ee build: update dependencies and build configuration 2026-01-18 00:21:44 +08:00
Elysia
c342be45c2 build: 修改依赖安装步骤,移除 electron-app-universal-protocol-client 直接安装,改为通过 devDependencies 安装 2026-01-18 00:18:00 +08:00
Elysia
5fd1b75309 build(workflows): update npm install build-from-source flag 2026-01-18 00:16:09 +08:00
Elysia
f75b1681a2 build: 更新 electron-app-universal-protocol-client 到 v2.1.1,并修改安装依赖的构建选项 2026-01-18 00:12:32 +08:00
Elysia
c8965297f2 build: 更新 GitHub Actions 工作流以忽略不必要的文件并优化依赖安装 2026-01-18 00:05:59 +08:00
Elysia
184072d5d2 build(workflow): update install dependencies step 2026-01-17 23:55:17 +08:00
Elysia
0faf741d0b build: update Node.js version to 20.x 2026-01-17 23:44:18 +08:00
Elysia
d8dee6e26f ci: 更新 GitHub Actions 工作流,升级依赖版本并简化操作系统矩阵 2026-01-17 23:40:54 +08:00
Yinan Qin
2250f89266 Initial commit 2026-01-17 00:15:37 +08:00