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

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
ai, mobile

調査の方向性

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.

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

説明

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).
主要言語
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 を短くまとめたダイジェスト。