weishu cf04937355 feat(cli): refactor embedded assets with Bun-specific and stub implementations
Split embedded assets loading into runtime-specific variants using package.json imports field. Bun-compiled binaries use the full implementation with file assets, while stub fallback provides clear error for non-Bun runtimes.
2025-12-20 23:46:02 +08:00
2025-12-16 15:03:50 +08:00

hapi

Monorepo with three Bun workspace packages:

  • cli/ (hapi): CLI (single executable) exposing hapi / hapi mcp
  • server/ (hapi-server): backend API + Telegram bot server, serves web/dist/
  • web/ (hapi-web): web frontend (Vite) building to web/dist/

Commands

Run from the repo root:

bun install
bun run typecheck
bun run build
bun run build:cli:exe
bun run build:cli:exe -- --target bun-darwin-x64
S
Description
GitHub 镜像: wu736139669/hapi(每日自动同步)
Readme AGPL-3.0
103 MiB
Languages
TypeScript 99.5%
CSS 0.2%
JavaScript 0.2%
HTML 0.1%