Say host, not gateway or machine, in CLI output and user-facing field names

Aperta
#2,720 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
cli, documentation

Direzione di ricerca

Start with the named CLI entry points in src/core/cli/remote_commands.js and the help and notices for hyp leave, hyp privacy, and hyp ignore; also read src/core/mcp/instructions.js. Check how gateway_id appears in ai_gateway_messages and mint response JSON, then trace the docs references in TEAM_SETUP and CLI_REFERENCE for hyp remote mint. Done means user-facing output, help, field names, and MCP instructions use “host,” with the temporary docs notes removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The customer word for an enrolled computer is now host (Positioning Fundamentals v6.6, Section 10). The site and docs say host, and the dashboard already does (hyparam/hypscope#400). The CLI still shows the data model's names, so the docs have to flag literals instead of matching them.

What still says gateway or machine where a customer reads it:

  • hyp remote mint prints minted CI token for '<name>' (gateway <id>, expires ...) on stderr (src/core/cli/remote_commands.js, the detail line).
  • hyp remote login prints note: this replaced a ... gateway identity (was gateway <id>).
  • gateway_id is the field name in ai_gateway_messages and in the mint response JSON, so it shows in hyp query output and schema listings.
  • CLI help and notices say machine: hyp leave help ("Disconnects this machine"), the hyp remote login notices ("connects this machine to your team", "this machine is connected to ..."), and the hyp privacy / hyp ignore help ("machine-local"). The MCP instructions (src/core/mcp/instructions.js) say "for this machine".

Ask: rename or alias these so CLI output, help, and user-facing field names say host (for example host <id> in mint output, a host_id alias in query results). The internal record can keep its name.

Until this lands, the docs carry the line "shown as gateway in the current CLI output; this is the host record" next to the mint output (TEAM_SETUP, CLI_REFERENCE hyp remote mint). Remove those lines when the output changes. The docs pass is not fully closed until then.

Lingua principale
JavaScript
Stelle
11
Fork
0
Merge medio
2h 15m
PR unite (30g)
322

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyparam/hypaware

Tutte le issue di hyparam/hypaware

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.