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

未关闭
#68 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DojoCodingLabs/hermit 的其他 Issue

查看 DojoCodingLabs/hermit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。