Boost: build the desktop app skeleton in apps/boost

オープン
#65 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react-native, typescript
領域
ai, desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
TypeScript
スター
11
フォーク
0
平均マージ
10分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DojoCodingLabs/hermit のほかの issue

DojoCodingLabs/hermit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。