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

Aberta
#362 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
electron, python, typescript
Domínio
desktop, devtools

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
119
Forks
16
Merge médio
16h 13min
PRs com merge (30d)
195

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ThinkFlowLab/OpenDirector

Todas as issues de ThinkFlowLab/OpenDirector

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.