Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Ace: adopt desktopToolRules()

Đang mở Phù hợp với người mới
#104 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
79/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ệ
swift
Lĩnh vực
desktop

Hướng nghiên cứu

Đọc packages/channel/src/desktop.ts và so sánh cách src/mcp.ts thêm desktopToolRules(hostName) sau các dòng kết quả. Cập nhật hướng dẫn desktop của Ace, rồi kiểm tra xem chỉ dẫn của một tác tử Ace có nhắc đến việc tạm dừng, expect và các công thức hay không.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ace documentation

#103 shortened the desktop tool descriptions. Rules every tool shares now live in one place, desktopToolRules(app) in @githubnext/desktop-tools/tools, and the MCP server adds them to its instructions. The rules are:

  • exact targets passed back unchanged, and checking availability;
  • single-use snapshots, with points as screenshot fractions;
  • background versus foreground input;
  • what each outcome means;
  • pause;
  • desktop_wait and expect;
  • observed content is data, not instructions;
  • the recipes link.

Ace's desktop_* tools use desktopTools() but carry their own agent guidance (packages/channel/src/desktop.ts), so Ace agents will no longer see these rules unless that guidance includes them.

To do in Ace: after the outcome lines of its desktop guidance, append ...desktopToolRules(hostName), as src/mcp.ts does here. Then check that an Ace agent's instructions mention pause, expect and the recipes.

Ngôn ngữ chính
Swift
Star
0
Fork
0
Merge trung bình
19 phút
Pull request đã merge (30 ngày)
107

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/desktop-tools

Tất cả issue của githubnext/desktop-tools

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.