[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 摘要。