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

Offen
#475 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
bash, macos, powershell, typescript
Bereich
cli, desktop-dev, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
119
Forks
16
Ø Merge
16 Std. 13 Min.
Gemergte PRs (30 T.)
195

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ThinkFlowLab/OpenDirector

Alle Issues in ThinkFlowLab/OpenDirector

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.