[feat] desktop D1: Desktop application
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- electron, python, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 119
- Forks
- 16
- Ø Merge
- 16 Std. 13 Min.
- Gemergte PRs (30 T.)
- 195
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ThinkFlowLab/OpenDirector
-
area:provider
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ThinkFlowLab/OpenDirector#477 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:ci
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
ThinkFlowLab/OpenDirector#411 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea:agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
ThinkFlowLab/OpenDirector#348 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:provider
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ThinkFlowLab/OpenDirector#311 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:desktop area:install help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
ThinkFlowLab/OpenDirector#475 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ThinkFlowLab/OpenDirector
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationEvtl. vergeben @roboclaw-bot hat das heute übernommen. Offenclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
openclaw/openclaw#204323 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
virtue-initiative/virtue-initiative#953 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-area-label
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
fumicode/bublys-org#261 ·
Maintainer antworten meist innerhalb von 12 Tagen