Publish leased devices to Argent through its device-provider contract
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 730
- フォーク
- 44
- 平均マージ
- 16時間 13分
- マージ済み PR(30日)
- 387
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/simlock のほかの issue
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
callstackincubator/simlock#1986 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
callstackincubator/simlock#1979 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
process-runner.test.ts fails four tests when a child starts 1 to 3 s late対応中かも @V3RON が今日担当しました。 オープンbug:new
callstackincubator/simlock#1985 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
callstackincubator/simlock#1984 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
iOS runCommand passes timeoutMs to spawn, which ignores it, and its comment relies on that backstopオープンbug:new
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
callstackincubator/simlock#1980 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/simlock の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
audacity/audacity.github.io#118 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
crxjs/chrome-extension-tools#1261 ·
-
Resources: Update work of fuzhou対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
railmapgen/rmp-gallery#4245 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
mike-north/AgentMonitors#717 ·
メンテナーはふだん 1 日以内に返信