[RFC] desktop: Cross-platform client and bundled runtime

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

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
electron, python, typescript
領域
desktop, devtools

研究方向

Start with roadmap #265 and the referenced DeepSeek Harness Desktop implementation to understand the proposed Electron shell and lifecycle patterns. Then review work items #363–#369, coordinating Agent lifecycle with #261 and release gates with #273. The issue is done when the six work items deliver an installable, supported cross-platform client that meets the listed workflow, update, preservation, language, diagnostics, and export criteria.

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

描述

area:desktop area:install

Goal and scope

Deliver an installable OpenDirector desktop client for Windows, macOS and Linux under roadmap #265. Users can install, create/edit a project, export, reopen and update without preparing a development environment. Coordinate HarmonyOS delivery with existing #252.

Design

Use an Electron shell as the proposed baseline, reusing the existing Web UI and shared Python business services. Bundle the Python environment, FFmpeg and required built-in Agent runtime. Manage backend readiness, authenticated loopback connections, failures and shutdown from the desktop application.

Keep application resources separate from projects, credentials, logs and caches. Desktop and CLI share project identity, locking and revision rules. Restrict native capabilities to validated IPC operations and isolated renderers.

Reference DeepSeek Harness Desktop for shell/Host lifecycle and distribution patterns. Adapt them to OpenDirector's Python and media dependencies.

Delivery

Create six work items for the desktop application, macOS distribution, Windows distribution, Linux distribution automatic updates and the download landing page. Platform packages depend on the shared application; update coordination integrates with each platform installer.

Each task owns its relevant build checks and acceptance evidence. Coordinate Agent lifecycle with #261 and release gates with #273.

Acceptance criteria

  • Declare tested OS versions, architectures and Linux distributions, plus package formats, bundled runtime versions and signing status.
  • On each supported clean environment, install → create a project → run an Agent-assisted workflow → edit → export → reopen → update.
  • Preserve projects and credentials during updates and the documented uninstall flow; handle startup failure, running-task interruption and update failure with actionable messages.
  • Verify Chinese and English UI, file operations and diagnostics.
  • State client participation required by export and background tasks.

Decisions to confirm

Initial OS/architecture matrix, Linux package format, signing credentials and update hosting/channel policy.

Work items

Task Issue Dependencies Implementation and status
D1 · Desktop application #363 Shared foundation #397 merged; packaged Agent creation/edit/export/reopen acceptance on clean environments remains
D1 follow-up · Desktop CLI acceptance #475 D1 #363; packaged builds from #397 Open, help wanted
D2 · macOS distribution #364 #363 #397 merged. Issue closed; v0.1.5 Apple Silicon ad-hoc DMG published; notarization and full installation/upgrade acceptance remain. DMG guidance follow-up #470 open
D3 · Windows distribution #365 #363 #397 merged. Issue closed; v0.1.5 unsigned x64 installer published; signing and full clean-machine workflow/upgrade acceptance remain
D4 · Linux distribution #366 #363 Open; no Linux installer in v0.1.5
D5 · Automatic updates #367 #363; installer integration with #364, #365, #366 Open; not delivered by #397
D6 · Download landing page #369 Website #368; installers #364, #365, #366 #413 merged. Issue closed; Pages deployed with v0.1.5 macOS/Windows links; post-release download acceptance pending
D7 · Import media by reference #473 Desktop host and shared media services Open; help wanted

Related: #474 tracks bidirectional clipboard support, including desktop clipboard compatibility and parity with Web.

主要語言
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 摘要。