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

Abierto
#475 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
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
bash, macos, powershell, typescript

Línea de trabajo

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.

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

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
119
Forks
16
Merge medio
16 h 13 min
PR fusionados (30 d)
195

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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

Todos los issues de ThinkFlowLab/OpenDirector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.