Provider plugins v2, daemon ownership and host environment (umbrella)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 8/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
調査の方向性
This is a tracking umbrella with no code change of its own; the work sits in the child issues listed in the checklist (#3748 to #3759). The unblocked starting points are #3748 (refuse leases for providers without a registered runtime) and #3749 (HostEnvironment captured once at entry points), and the payload names no files or tests. Done means each child lands additively in 0.21.x and the external acceptance items are met.
索引モデルが issue の本文から書いたものです。
説明
Purpose
One provider plugin contract loaded three ways, an explicit owner for every daemon, and a daemon that reads no process globals.
The three ways a plugin loads:
- built-in providers;
agent-device plugins add(the store);- a JS host that imports the plugin package as an ordinary npm dependency.
This replaces the current workaround in e2e's @e2e-dev/testmu. It fakes the plugin store: it symlinks the package into plugins/<uuid>/node_modules, writes a private AGENT_DEVICE_HOME, and lets a client start a detached daemon implicitly.
Release rule
Every child lands additively in 0.21.x. Superseded shapes keep working until #3759 removes them in 0.22.
Children
- #3748 — refuse leases for providers without a registered runtime
- #3749 — HostEnvironment captured once at entry points (foundation)
- #3750 — HostEnvironment in platform and capture packages (blocked by #3749)
- #3751 — HostEnvironment in root src and remaining packages (blocked by #3749)
- #3752 — daemon runtime owns no process globals;
ShutdownReport(blocked by #3749) - #3794 — explicit host for configuration reads; one entered runtime store (follow-up to #3763/#3772)
- #3753 — gate: no process globals outside entry points (after #3794 part 1) (blocked by #3750, #3751, #3752)
- #3754 — explicit daemon lifecycle:
ensureDaemon()and attach clients - #3755 — plugin contract v2, one provider registry, inventory, ADR 0034 (blocked by #3748)
- #3756 —
@agent-device/testmuon plugin contract v2 (blocked by #3755) - #3757 —
agent-device/hoststartAgentDevice()(blocked by #3772 and the HostEnvironment PRs #3763/#3775/#3777; design pass done 2026-10-17) - #3758 — proposal: per-lease provider options (not scheduled)
- #3759 — 0.22 removals (blocked by all of the above and #3311)
Decisions (maintainer, 2026-10-16)
- Plugins are factories called with options. A store install passes
config.jsonoptions; a JS host callstestmu({ credentials })directly. - No module-URL identity. Nothing relies on
import.meta.url. - No Effect dependency.
{ webDriver }stays a data descriptor. Plugins import only types from agent-device.- One registry. Sources compose in the order built-in → store → embedder. A plugin that fails is listed, not fatal.
- The plugin set is fixed for a daemon's lifetime.
- Clients never manage the daemon implicitly. Starting or replacing one is an explicit
ensureDaemon()call. Embedders own their daemon throughagent-device/host. - The ADR is brief. ADR 0034 records the plugin registry, with only a short note on daemon ownership.
External acceptance
- e2e:
tester-army/e2emigrates@e2e-dev/testmuand@e2e-dev/limruntoagent-device/host, deletinginstallPluginand the CLI-based daemon stop. That work is tracked in e2e after #3757 ships. - #3311: the Limrun extraction ships
@agent-device/limrunon the v2 contract from #3755.
- 主要言語
- TypeScript
- スター
- 5.1k
- フォーク
- 339
- 平均マージ
- 12時間 57分
- マージ済み PR(30日)
- 653
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
Limrun iOS fill reports success but drops non-ASCII text対応中かも @mvanhorn が 4 日前に担当しました。 オープンbug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
callstack/agent-device#3819 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
callstack/agent-device#3931 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-info
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
callstack/agent-device#3929 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
callstack/agent-device#3924 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
callstack/agent-device の issue をすべて見る
似ている issue
-
freshness freshness:observed-only
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
thoroc/context-radar#282 ·
-
bug P2 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area: web
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
gabe-santana/arkdraw#25 ·
-
bug require-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
expressjs/expressjs.com#2549 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
codercops/discord-bot#101 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信