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

未關閉
#475 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
bash, macos, powershell, typescript

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
119
分支
16
平均合併
16 小時 13 分鐘
30 天內合併 PR
195

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ThinkFlowLab/OpenDirector 的其他 Issue

查看 ThinkFlowLab/OpenDirector 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。