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

Add remote proxy lease backend for HarmonyOS (harmonyos-instance)

Đã đóng
#2,265 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/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ệ
typescript
Lĩnh vực
backend-api-design, mobile

Hướng nghiên cứu

Bắt đầu từ contract của LeaseBackend và lần theo các path hiện có của ios-instance và android-instance qua ánh xạ platform, cấp phát proxy, heartbeat, đóng và các gợi ý runtime của session. Bổ sung coverage cho việc chọn emulator HarmonyOS và toàn bộ flow từ inventory-to-open-to-snapshot/input/logs-to-close từ xa, bao gồm identity của lease và provenance của artifact.

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

Mô tả

enhancement

Problem

The 0.20.10 proxy inventory lists booted HarmonyOS devices, and the local host provider supports open --platform harmonyos, but remote proxy lease admission rejects HarmonyOS because LeaseBackend only contains ios-simulator, ios-instance, and android-instance.

Observed from a Linux client connected to a Mac proxy:

  • devices --platform harmonyos lists a booted emulator.
  • open ... --platform harmonyos --device emulator fails before allocation with open requires --platform ios|android or --lease-backend.
  • The local Mac (non-proxy) can open the same Harmony emulator and exposes snapshot/click/type/logs/screenshot.

Proposal

Add a first-class harmonyos-instance lease backend end-to-end: contracts/type, platform-to-backend mapping, proxy lease allocate/heartbeat/close, session runtime hints, and tests proving device selection and lease lifecycle. Preserve fail-closed behavior for unsupported providers; do not merely widen a client enum.

Acceptance should include remote proxy inventory -> open -> snapshot/input/logs -> close, with lease identity and artifact provenance. Physical OHOS remains out of scope; emulator/proxy only.

Ngôn ngữ chính
TypeScript
Star
5k
Fork
334
Merge trung bình
11 giờ 48 phút
Pull request đã merge (30 ngày)
605

Chuẩn bị môi trường

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 callstack/agent-device

Tất cả issue của callstack/agent-device

Issue tương tự

Thêm issue về TypeScript

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.