Boost: serve the paired phone's turns from the desktop app

Offen
#68 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
32/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
ai, mobile

Rechercherichtung

Start in apps/boost and trace how the paired phone's channel connects to serveBoost in packages/boost and the app's CompletionEngine; read the designs in #54 and #52 and the dependencies #65, #64, and #67 first. Build tests with fake transport and engine, including cancellation, rejecting another key, and checking the log sink; done means the requested streaming, privacy, status, and capability behavior passes the listed checks and a two-machine manual check.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

help wanted privacy

Why

After pairing, the computer answers the phone's Boost requests with its bigger model (EP-18). The cage stays on the phone (ADR-010): the computer runs the model and returns what it wrote, with tool calls unexecuted.

What to do

In apps/boost:

  1. Connect the paired phone's channel to serveBoost from packages/boost, and that to the app's CompletionEngine.
  2. Answer only the paired phone. Refuse anything else, and say so on screen.
  3. Report the capabilities the design lists: the protocol version, the model's SHA-256, the profile id, the context size.
  4. Honor a stop from the phone at once.
  5. Keep on disk only what the stack decision allows, and clear it on Unpair.
  6. Show a plain status: waiting, answering, the last answer's speed. Never a prompt or an answer, on screen or in a log.

Tests first, with the transport and the engine faked.

Done when

  • In tests, and once by hand: a request from the paired phone, or from the pairing spike's script, streams an answer back; a stop cancels it; and another key is refused.
  • A test checks the log sink: nothing with a prompt or an answer is written.

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 by hand on two machines, with a made-up chat.

Depends on

  • Blocked by the designs in #54 and #52.
  • #65
  • #64
  • #67

Keep in mind

  • The computer never runs a tool call. Never pass a handler to QVAC tools (AGENTS.md, How the code stays that way).
  • No telemetry. The app's host list shows every host it contacted.
  • The computer holds none of the user's keys, tokens or passwords.
  • 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).
Vorherrschende Sprache
TypeScript
Sterne
11
Forks
0
Ø Merge
10 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DojoCodingLabs/hermit

Alle Issues in DojoCodingLabs/hermit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.