[feat] harness: Add Cursor Agent support
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
- 28/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Start by reading the existing runtime adapter boundary, conversation storage, execution directory, command transport, skills, and trace presentation. Evaluate Cursor ACP over stdio against those integration points, then validate session recovery, cancellation, image input, and reasoning controls with the documented Cursor CLI. Done means meeting the listed acceptance criteria, including real command results, restart recovery, localization, and implementation PR evidence.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Parent roadmap #261. Relates to #33.
Goal and scope
Let users select Cursor as an Agent runtime in OpenDirector, use their Cursor account and models, and create or edit project content through the shared business commands.
User flow and rules
- Detect Cursor Agent CLI and provide installation or authentication guidance when unavailable. Reuse Cursor authentication.
- Offer model selection and preserve supported reasoning settings per conversation. Determine available controls from the supported CLI and model.
- Stream replies and tool activity into the conversation. Persist native session identity and resume with incremental input.
- Keep a consistent execution directory across turns and isolate conversations and projects, including after application restart.
- Expose OpenDirector CLI commands and skills through the existing discovery mechanisms. Apply the same revisions, locks, validation, and receipts as other runtimes.
- Pass supported attachments and project references to Cursor. Report unsupported inputs explicitly.
- Stop the local runtime operation and report its actual outcome. Already accepted generation jobs retain their own cancellation and recovery semantics.
- Provide English and Chinese setup, status, and error messages.
Feasibility and integration
Cursor documents an ACP server over stdio for custom clients. The inspected CLI, version 2026.03.30-a5d3e17, exposes agent acp, headless stream-JSON output, partial text output, model selection, and explicit session resume. These capabilities provide an integration starting point. Real OpenDirector tool execution, session recovery, cancellation, image input, and reasoning controls still require validation.
Evaluate ACP first against the existing runtime adapter boundary. Reuse conversation storage, execution directories, command transport, skills, and trace presentation. Map Cursor events to shared reply and tool states and retain raw events for diagnosis. Scope credentials and permissions to the runtime invocation.
Acceptance criteria
- Select Cursor and an available model, then complete a streamed conversation. Missing CLI, authentication failure, and unsupported versions produce actionable messages.
- Ask Cursor to create a text node through OpenDirector CLI. Verify its stored content, object revision, and command receipt.
- Edit the node through the UI, then ask Cursor to read and update it in the same conversation. Verify that the latest user changes are preserved.
- Resume after application restart and verify context retention, a consistent execution directory, and isolation between conversations and projects.
- Stop a running turn and continue without orphan processes, duplicate replies, or automatic resubmission of accepted work.
- Verify tool events and traces against actual command results, using the same status and color conventions as other runtimes.
- Verify supported image inputs with a real multimodal request and preserve selected model and supported reasoning settings.
- Check English and Chinese setup and failure flows. Include CLI version, reproducible checks, actual project results, and UI screenshots in the implementation PR.
References
- 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