mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
5856db6781eb0cf672385f7ac92b9e882f1aa08d
Improve service worker update handling to fix caching issues during development: - Add skipWaiting and clientsClaim in Workbox config for immediate SW activation - Remove user confirmation prompt and switch to silent automatic updates - Replace hourly polling with visibility-based update checks via visibilitychange event This resolves the issue where web updates would not take effect without manual cache clearing.
hapi
Monorepo with three Bun workspace packages:
cli/(hapi): CLI (npm package) exposinghapi/hapi-mcpserver/(hapi-server): backend API + Telegram bot server, servesweb/dist/web/(hapi-web): web frontend (Vite) building toweb/dist/
Commands
Run from the repo root:
bun install
bun run typecheck
bun run build
Languages
TypeScript
99.5%
CSS
0.2%
JavaScript
0.2%
HTML
0.1%