Boost: build the desktop app skeleton in apps/boost

Aperta
#65 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react-native, typescript
Ambito
ai, desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).
Lingua principale
TypeScript
Stelle
11
Fork
0
Merge medio
10m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DojoCodingLabs/hermit

Tutte le issue di DojoCodingLabs/hermit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.