Boost: build the desktop app skeleton in apps/boost

Đang mở
#65 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript
Lĩnh vực
ai, desktop

Hướng nghiên cứu

First read the design decision in #52 and the pinned model profile in packages/model/src/profile.ts; compare the existing app setup in apps/relay. The issue leaves the desktop stack, first platform, runtime, and screens dependent on that decision, and also requires localization, privacy checks, and cross-platform state screenshots. Done means the accepted design is implemented, a pinned model reaches ready with hash verification, and the listed checks pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

copy help wanted privacy ui

Why

US-BOOST-01 needs "Hermit Boost" running on the user's computer. The skeleton is the frame the later pieces fill: it starts, loads a pinned model, shows its state, and does nothing else yet.

What to do

Build what the stack decision says, in apps/boost (new).

  1. A workspace app, if the stack decision makes it one: a package.json with a name such as @hermit/boost-desktop, a tsconfig.json, Node tests like apps/relay's (vitest), typecheck and test scripts, and a start command. If the stack is something else, its own manifest, tests and start command, run by pnpm test.
  2. The model: download a pinned file over HTTPS and check its SHA-256 before use, or accept a local file only when its hash matches. Start with a file already pinned in packages/model/src/profile.ts, such as QWEN35_4B_Q4. The Boost profile comes later.
  3. A CompletionEngine (packages/model/src/engine.ts) over the chosen runtime, and a smoke test behind a flag that runs one short completion.
  4. The screens the stack decision names: the model's state (downloading, checking, ready, failed) and a place for pairing. Every string comes from packages/copy, in both locales.
  5. A list of every host the app contacted, with a count: the desktop's own version of HM-SET-02.
  6. No log line that holds a prompt or an answer.

Done when

  • On the first platform the decision names, the app starts, downloads and checks a pinned model, and shows it ready.
  • A file with the wrong hash is refused and deleted, with a plain message.
  • Its tests run in pnpm test, and pnpm check:privacy covers its manifests.
  • Screenshots of each state in es-419 and en.

How to check

pnpm --filter @hermit/boost-desktop test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test
node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt

Then start the app and watch it reach ready.

Depends on

  • Blocked by the design in #52.

Keep in mind

  • No telemetry, crash reporting or update checks (AGENTS.md rule 2). If the stack has its own crash reporter or updater, it stays off, and a test or a check proves it.
  • Never QVAC registry:// sources. Pinned HTTPS and SHA-256 only.
  • Strings in packages/copy: es-419 in tú, and en, with the same keys and placeholders and no em or en dashes.
  • Pin every dependency exactly, and give its reason, license and size.
  • Open a pull request only once everything under Depends on is accepted or merged, and a maintainer has said so here (AGENTS.md: code for a feature without an accepted issue may be closed).
Ngôn ngữ chính
TypeScript
Star
11
Fork
0
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DojoCodingLabs/hermit

Tất cả issue của DojoCodingLabs/hermit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.