[feat] desktop D1: Desktop application
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- electron, python, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 119
- Fork
- 16
- Merge trung bình
- 16 giờ 13 phút
- Pull request đã merge (30 ngày)
- 195
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ThinkFlowLab/OpenDirector
-
area:provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ThinkFlowLab/OpenDirector#477 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ThinkFlowLab/OpenDirector#411 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ThinkFlowLab/OpenDirector#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ThinkFlowLab/OpenDirector#311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:desktop area:install help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
ThinkFlowLab/OpenDirector#475 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ThinkFlowLab/OpenDirector
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationCó thể đã có người làm @roboclaw-bot đã nhận hôm nay. Đang mởclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
openclaw/openclaw#204323 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
virtue-initiative/virtue-initiative#953 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
fumicode/bublys-org#261 ·
Maintainer thường phản hồi trong vòng 12 ngày