[feat] desktop D1: Desktop application
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 20/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- electron, python, typescript
Piste de recherche
Start by reading RFC #362, roadmap #265, and the referenced DeepSeek Harness Desktop shell/Host lifecycle. Inspect the existing Web UI and Python services entry points, then map the packaged runtime and acceptance checks across platforms. Done means a packaged build passes the stated launch-to-reopen workflow and records reproducible commands, tested OS versions, architectures, and remaining limits.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Goal and scope
D1 under RFC #362 and roadmap #265. Deliver an Electron desktop shell around the existing Web UI and Python business services, runnable without development tools.
Design
Follow the shell/Host lifecycle pattern in DeepSeek Harness Desktop, adapted to OpenDirector:
- Host lifecycle: Electron owns a bundled Python API process bound to
127.0.0.1on an OS-assigned port. A private control channel reports starting, ready, fatal and shutdown completion. Show actionable startup errors and log locations. - Authentication: Generate a fresh credential per Host launch, held by the main process and Host. Attach it only to requests for that Host; exclude it from renderer code, URLs, logs and shared localhost cookies.
- UI and native operations: Reuse the Web UI in an isolated, sandboxed renderer with Node integration disabled. Expose validated preload IPC for file dialogs, saving and window operations. Keep business commands and validation in the shared Python services.
- Runtime and data: Bundle Python, dependencies, FFmpeg and the built-in Agent runtime. Keep application resources read-only and separate from projects, credentials, logs and caches. Preserve existing data; desktop and CLI share project identity, locks and revisions.
- Shutdown: Repeated launches focus the existing application. Distinguish closing a window from quitting. Inspect Agent, generation and export tasks before quitting, explain interruption risks, and coordinate child-process shutdown. A remote task is not cancelled merely because the application exits.
- Export: Retain browser rendering initially and keep its renderer alive during export. Hiding a window does not imply export can continue after application exit.
- CLI: Offer optional command installation, repair and removal using the bundled runtime. Preserve independent CLI installations and update command help.
D1 owns the shared shell, Host protocol, runtime layout and acceptance checks. Platform installation, signing and distribution belong to #364–#366; automatic updates belong to #367.
Acceptance criteria
- From a packaged build on a clean environment: launch → Agent-assisted creation and tool use → edit → export → reopen, without system Python, Node, npm or FFmpeg.
- Verify authenticated dynamic-port startup, startup failure, duplicate launches, project locks, task-aware shutdown and recovery diagnostics.
- Validate the actual bundled executables and Python imports, including Agent startup; dependency files alone do not establish a working installation.
- Verify Chinese and English interactions and errors; document tested OS versions, architectures and remaining limits.
- Include reproducible build/check commands and actual packaged-build acceptance evidence in the implementation PR.
- Langage dominant
- TypeScript
- Étoiles
- 119
- Forks
- 16
- Merge moyen
- 16 h 13 min
- PR mergées (30 j)
- 195
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ThinkFlowLab/OpenDirector
-
area:provider
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
ThinkFlowLab/OpenDirector#477 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:ci
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
ThinkFlowLab/OpenDirector#411 ·
Les mainteneurs répondent en général sous 1 jour
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertearea:agent
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ThinkFlowLab/OpenDirector#348 ·
Les mainteneurs répondent en général sous 1 jour
-
area:provider
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ThinkFlowLab/OpenDirector#311 ·
Les mainteneurs répondent en général sous 1 jour
-
area:desktop area:install help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
ThinkFlowLab/OpenDirector#475 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de ThinkFlowLab/OpenDirector
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationPeut-être pris @roboclaw-bot l’a pris aujourd’hui. Ouverteclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
openclaw/openclaw#204323 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
virtue-initiative/virtue-initiative#953 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-area-label
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
fumicode/bublys-org#261 ·
Les mainteneurs répondent en général sous 12 jours