{"agent":"codex","input":"Add code coverage to the Jest tests and the GitHub Actions workflow of this Electron app and open a pull request. Read package.json, .erb/tooling/package.json, jest.config.js, .erb/scripts/check-build-exists.ts, .erb/scripts/smoke-test.cjs, electron.vite.config.ts, .gitignore, .github/workflows/test.yml, src/__tests__/App.test.tsx, src/__tests__/updates.test.ts, src/main/main.ts, src/main/util.ts, src/main/updates.ts, src/main/preload.ts and src/renderer/App.tsx first. Use Jest's built-in coverage with the v8 provider and no new dependency: set collectCoverageFrom to the TypeScript under src excluding __tests__, src/renderer/index.tsx and declaration files, coverageDirectory coverage, and text-summary, lcov and json-summary reporters. Add a test:coverage script that runs jest --coverage and keep npm test as it is. In test.yml, run npm run test:coverage after npm run package in the existing matrix, upload the coverage directory as a workflow artifact named per OS, and upload lcov.info with codecov/codecov-action@v5 using a CODECOV_TOKEN secret with fail_ci_if_error false. Add src/__tests__/util.test.ts covering resolveHtmlPath in development and packaged mode. Do not set a coverage threshold. Run npm ci, npm run package, npm run lint, npm exec tsc -- --noEmit and npm run test:coverage, and paste the text-summary block in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}