Prepare v2.0.0 — CI hardening, installer auto-latest, security & UX polish #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Description
eslint.config.mjs), add.prettierrcand.prettierignore, addformat:write, run Prettier across repo, and switch CI tonpm cifor reproducible installs; release workflow now runs lint/format/tests/smoke before packaging assets.scripts/install-remote.shnow auto-detects the latest stable release (via GitHub API/redirect) and fails with clear messages if assets/checksums are missing, andscripts/build-release.shpackagesMIGRATION.mdandRELEASE_NOTES.mdinto the tarball; added.github/workflows/release.ymlimprovements.server/security/cors.js), extended redaction patterns for bearer/api keys, redact sensitive data before logging, improved config validation (includingconfigVersion,profilesandallowedOrigins), and made smoke test use a dynamic port + real healthcheck.package.jsonto2.0.0, addedMIGRATION.md,RELEASE_NOTES.md, updatedCHANGELOG.mdandREADME.md, and adjusted server/install scripts to write/read the newprofileslayout while remaining backward compatible with legacygatewayblock.Testing
npm run lint— passed (ESLint now correctly applies browser/node overrides). ✅npm run formatandnpm run format:write— Prettier checks and autofix completed and repo formatted. ✅npm test— all Vitest tests passed after makinggetUsageSnapshottestable and mocking runner/capabilities. ✅npm run smoke— smoke test (dynamic port + health check) completed successfully. ✅All CI steps (lint/format/tests/smoke) were executed locally and passed; workflows were updated to run the same steps on release/tag events.
Codex Task
Continue Tasks:▶️ 1 queued — View all