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

Abierto
#68 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
32/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
ai, mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
TypeScript
Estrellas
11
Forks
0
Merge medio
10 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DojoCodingLabs/hermit

Todos los issues de DojoCodingLabs/hermit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.