BREAKING CHANGE: Remove legacy @mosaic/cli fallback from update-checker.
The updater now targets only @mosaic/mosaic — legacy package compatibility
is out of scope per approved breaking change.
- update-checker.ts: remove LEGACY_PKG, INSTALLED_PACKAGE_ORDER, candidate
iteration, and cache key comparison. Single query for @mosaic/mosaic only.
- update-checker.test.ts: remove legacy fallback and cross-contamination
tests. Add test asserting no @mosaic/cli queries are made.
- pr-merge.sh: add --repo and --login flags to tea merge command; resolve
OWNER/REPO before case block.
- issue-close.sh: add --repo and --login flags to tea issue commands;
resolve OWNER/REPO after detect_platform.
- pr-ci-wait.sh: no changes needed (uses curl, not tea).
- detect-platform.sh: no changes needed (provides get_repo_owner/name).
Ref: #387
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #387
1. Update Checker Simplification (BREAKING CHANGE)
Removes all legacy
@mosaic/clicompatibility from the update checker:LEGACY_PKG,INSTALLED_PACKAGE_ORDERconstants — onlyPKG = '@mosaic/mosaic'remainsgetInstalledVersion()— removed multi-package loop, checks@mosaic/mosaiconlygetLatestVersion()— removed candidate iteration with fallback; single query for@mosaic/mosaiccheckForUpdate()— removedcurrentPackage-based cache key comparisonRegistryCache— removedcurrentPackageandtargetPackagefieldsformatUpdateNotice()— removed package migration notice (no more legacy→modern transition messaging)2. Gitea Wrapper Fixes
Fixes
teacommands that fail when not run from inside a git repo by explicitly passing--repoand--login:--repo $OWNER/$REPO --login ${GITEA_LOGIN:-mosaicstack}to tea merge; resolved OWNER/REPO before case block--repoand--loginto bothtea issue commentandtea issue closeTest Results
does not query legacy @mosaic/clitest added)Files Changed
packages/mosaic/src/runtime/update-checker.ts— 66 lines removed, simplified to single-packagepackages/mosaic/__tests__/update-checker.test.ts— legacy tests removed, modern-only tests addedpackages/mosaic/framework/tools/git/pr-merge.sh— explicit tea flagspackages/mosaic/framework/tools/git/issue-close.sh— explicit tea flagsdocs/scratchpads/387-updater-wrapper-gitea-20260404.md— progress tracking