Publish leased devices to Argent through its device-provider contract
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
- 25/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
- developer-experience, mobile-dev
Hướng nghiên cứu
Start by reading Argent's device-provider contract, especially contract.ts, read.ts, and write.ts, and inspect how Simlock grants and ends device leases and handles the agent-device capability. Use argent providers check --file <descriptor> to validate a descriptor. Done means an opt-in integration publishes the leased device with its supported capabilities and withdraws it when the lease ends or the device is reclaimed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem
Argent (@swmansion/argent) has an external device-provider contract: a process that already runs a simulator or emulator writes a descriptor into ~/.argent/providers (schema version 1, managed with argent providers publish / withdraw / list / prune), and Argent then lists and drives that device. Simlock does not publish one, so a leased device is invisible to Argent until the operator configures each piece by hand:
- iOS: the device lives in Simlock's own set, so the operator must add it with
argent config set ios.additionalDeviceSets '["~/.simlock/devices/ios"]'before Argent can find the UDID. - Android: Simlock's emulators sit behind its own adb server (port 5038 by default), which Argent does not query unless its environment is changed.
Nothing ties Argent's view to a lease either: an agent can drive a device it does not hold, and Argent keeps showing a device after Simlock reclaims it.
Who runs into this
Operators who run several coding agents on one Mac, lease devices from Simlock, and drive them through Argent's MCP tools for UI QA (taps, screenshots, accessibility tree). Related: #639 and #1042 dealt with the Android gRPC side of the same setup.
What you would like to happen
When a lease is granted, Simlock publishes an Argent provider descriptor for that device (kind simulator/emulator, deviceSet for iOS, the adb endpoint for Android, the capabilities it actually offers), and withdraws it when the lease ends or the device is reclaimed. Opt-in through a capability, e.g. capabilities.argent.enabled, off by default, like agent-device.
Then an agent that leases a device sees exactly that device in Argent's list-devices, with no per-machine config, and loses it when the lease ends.
Anything else
The contract is in Argent's device-providers package (contract.ts / read.ts / write.ts); argent providers check --file <descriptor> validates a descriptor. Today we work around it with ios.additionalDeviceSets, which covers iOS discovery only and does not follow leases.
- Ngôn ngữ chính
- TypeScript
- Star
- 730
- Fork
- 44
- Merge trung bình
- 16 giờ 13 phút
- Pull request đã merge (30 ngày)
- 387
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 callstackincubator/simlock
-
The SIGKILL escalation test passes without escalation when its child starts later than 100 msĐang mởbug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
callstackincubator/simlock#1986 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
callstackincubator/simlock#1979 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
process-runner.test.ts fails four tests when a child starts 1 to 3 s lateCó thể đã có người làm @V3RON đã nhận hôm nay. Đang mởbug:new
callstackincubator/simlock#1985 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
callstackincubator/simlock#1984 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS runCommand passes timeoutMs to spawn, which ignores it, and its comment relies on that backstopĐang mởbug:new
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
callstackincubator/simlock#1980 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstackincubator/simlock
Issue tương tự
-
Độ 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ó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
audacity/audacity.github.io#118 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
crxjs/chrome-extension-tools#1261 ·
-
Resources: Update work of fuzhouCó thể đã có người làm @rmt-svc đã nhận hôm nay. Đang mởresources
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
railmapgen/rmp-gallery#4245 ·
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 83/100
mike-north/AgentMonitors#717 ·
Maintainer thường phản hồi trong vòng 1 ngày