Boost: build the desktop app skeleton in apps/boost

Ouverte
#65 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
react-native, typescript
Domaine
ai, desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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).
Langage dominant
TypeScript
Étoiles
11
Forks
0
Merge moyen
10 min
PR mergées (30 j)
6

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DojoCodingLabs/hermit

Toutes les issues de DojoCodingLabs/hermit

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.