[validate] desktop: Verify terminal command installation on macOS and Windows

Aperta
#475 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
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, macos, powershell, typescript

Direzione di ricerca

Read docs/development/desktop.md and docs/guides/cli.md first, then PR #397 for how the packaged launcher registers the terminal command on each platform. The work is manual acceptance on real macOS arm64 and Windows x64 machines: build or install a released package, use More → Manage terminal command → Install, then open a fresh shell and confirm command -v opendirector / (Get-Command opendirector).Source resolves to that package's launcher and opendirector desktop focuses the same installation. Done means a recorded matrix per platform (installer version, OS/arch, shell, resolved path, command output, pass/fail), the PATH-precedence and fresh-shell recovery cases checked in both English and Chinese guides, and separate issues filed for any defects found.

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

Descrizione

area:desktop area:install help wanted

Tracks installed-app acceptance for PR #397 under D1 #363 and desktop RFC #362.

Goal

Users can install the terminal command from the packaged app, open a new terminal, and run the CLI bundled with that installation. A previous macOS check ran the bundled CLI directly, but the shell resolved a Conda installation. Windows registration and invocation still need real-machine evidence.

References

  • PR #397 and desktop guide describe the packaged launcher and terminal registration.
  • OpenDirector CLI guide documents command discovery and how an external Agent selects the service and project.
  • VS Code macOS setup demonstrates installing the terminal command from the app and opening a fresh terminal to verify it.

Acceptance criteria

  • Install a released package on macOS arm64 and Windows x64. In More → Manage terminal command, choose Install with no existing OpenDirector CLI on PATH. Record the launcher path shown in the app.
  • Open a fresh terminal. Run command -v opendirector on macOS and (Get-Command opendirector).Source in Windows PowerShell. Verify that the resolved launcher belongs to the tested package.
  • Run opendirector --help and confirm successful exit. Run opendirector desktop and confirm it opens or focuses the same installation.
  • Repeat with a Conda or pip CLI already on PATH. Check that installation preserves the existing command. If it takes precedence, verify that the documented recovery steps let the user resolve the desktop launcher in a fresh terminal. Check the guidance in English and Chinese.
  • On each platform, have a first-time user without programming experience follow the English or Chinese quick start without maintainer coaching. The guide explains what the terminal command enables, shows where to click, tells the user when to open a new terminal, and provides copyable verification commands, expected results, and recovery steps if another installation takes precedence.
  • Start an external Agent in a fresh shell. Using only the guide, have it discover the installed CLI, read its help, and successfully run opendirector --url <service-url> project list against a configured, authorized OpenDirector service. Use a test project and verify it appears in the result. Explain how the user obtains the service URL and when a standalone service is required.
  • Record the installer version, OS and architecture, shell, resolved path, command output, and pass/fail result for each platform. File separate issues for defects found during acceptance.

External Agent acceptance uses the documented connection settings. The packaged app’s private Host is outside the connection scope of this test.

Lingua principale
TypeScript
Stelle
119
Fork
16
Merge medio
16h 13m
PR unite (30g)
195

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 ThinkFlowLab/OpenDirector

Tutte le issue di ThinkFlowLab/OpenDirector

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.