このページは機械翻訳されています。英語の原文を読む。

Component

core/ai-agent/dify-plugin-daemon

The Dify plugin runtime — the service that installs and runs the plugins a Dify installation's model providers and tools are delivered as. Every model call and every tool invocation an application makes is dispatched through it, so an installation with no plugin runtime can edit a workflow but cannot run one. It keeps its own plugin catalogue and installation records in a dedicated database on the PostgreSQL backend wired through the `backend` uses-socket, coordinates through the Redis-compatible cache wired through `cache`, and calls back into the API server over the internal API on the `api` socket to resolve workspace and credential context. Installed plugin packages and their prepared runtime environments live on its own volume, and it verifies each package's signature before running it, so it renders as a single-replica stateful server with a persistent claim. Exports its host, port and protocol to consumers via the uses topology. It serves its own metrics in the Prometheus format at /metrics/ on that port, on by default and asking no key, and its Recipe publishes that address as `metrics_endpoint`.

来歴

公式このカタログが公式の公開者として認めている署名 ID によって署名されています。
コンテンツダイジェスト
sha256:235db0a06173e63ea780afee705f161b356137d9bb23b70ec6ded021a2a2ce76
公開日
2026-11-10T10:07:46Z
署名 ID
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

署名

  • 公式application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:6b10147c2e908f21a543eea128ac8d8c25ebff57f5816ccadcbed892b88011ba

このバージョンの参照

oci://hub.aggrega.ai/component/core/ai-agent/dify-plugin-daemon:1.0.0

開発者パラメーター

開発者が Aggregate で設定する値です。

名前型デフォルト必須説明
plugin_databasestringdify_pluginいいえName of the database the runtime keeps its plugin catalogue in. It sits on the same backend as the platform's own database and is separate from it, so an installation that reuses one server for both keeps the two schemas apart.
verify_signaturebooleantrueいいえWhether a plugin package must carry a valid signature before the runtime will install it. Left at the default, an unsigned package is refused, which is what stops arbitrary code entering the installation through the plugin path. Set it false only for an installation that develops its own unsigned plugins.
max_package_sizeinteger (min 1)52428800いいえLargest plugin package, in bytes, the runtime accepts for installation.
max_execution_timeoutinteger (min 1)600いいえHow long, in seconds, one plugin invocation may run before the runtime stops it.

運用担当者によるサイジング

運用担当者が環境ごとに調整するインフラストラクチャのサイジングです。

名前型デフォルト必須説明
portinteger (min 1024, max 65535)5002いいえHTTP listen port the plugin-dispatch API is served on.
engine_versionstring0.6.10-localいいえDify plugin-runtime container image tag. The runtime is released on its own cadence, so this tag moves independently of the API server's.
computeobject—いいえ—
storageobject—いいえ—
overridesobject (open)—いいえProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

出力コントラクト

このコンポーネントが uses トポロジを通じて利用側に公開する値です。

名前型デフォルト必須説明
hoststring—はいIn-cluster DNS name of the Service fronting the plugin runtime. The API server dials this name to dispatch a model call or a tool invocation.
portinteger—はいTCP port that Service accepts dispatch requests on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
protocolstring—いいえURL scheme to reach `host` and `port` over, which a consumer composes its base URL on.
metrics_endpointstring—いいえThe full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/metrics/` on the dispatch port. Empty where the component serves none reachable.

uses ソケット

このコンポーネントが接続に用いる依存関係ソケットです。ソケットを介して配線される各接続のターゲットは、そのソケットのラベルセレクターを満たす必要があり、各接続はソケットが宣言するスロットにアタッチメントを持つことができます。必須スロットは、Aggregate または Release がそのソケットを介して配線する各接続が満たす必要があります。

backend

セレクター
component.aggrega.ai/category=datastore
注入
env

このソケットを介した各接続が埋めることのできるスロット

スロットセレクター必須注入機密説明
credentialfeature.aggrega.ai/kind=secretいいえenvはいOptional password the runtime presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem; unattached, the Recipe uses the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password.

cache

セレクター
component.aggrega.ai/category=datastore
注入
env

このソケットを介した各接続が埋めることのできるスロット

スロットセレクター必須注入機密説明
server_cafeature.aggrega.ai/kind=secretいいえfileはいOptional authority the runtime checks the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and points the runtime's cache client at the file. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret.

api

セレクター
component.aggrega.ai/category=ai-agent
注入
env

このソケットを介した各接続が埋めることのできるスロット

スロットセレクター必須注入機密説明
credentialfeature.aggrega.ai/kind=secretいいえenvはいOptional credential the runtime presents on every call back into the internal API of the API server this connection reaches, which the server compares against its own. The API server and the task worker hold the same key in their inner_api_key slots, so the credential is attached to all three or to none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-inner-api-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

アタッチメントスロット

Feature がこのコンポーネントにアタッチされる、名前付きのバインディングポイントです。スロットのセレクターはどの Feature がそのスロットを埋められるかを制約し、その inject リストは Feature のマテリアルをどのように配信できるかを示します。必須スロットは、インスタンス上のアタッチメント、またはその上位のスコープでのアタッチメントによって、すべてのインスタンスでバインドされている必要があります。また、機密スロットは秘密のマテリアルを扱うものとして宣言されます。Feature は、どのスロットも宣言していない名前でアタッチすることもできます。

スロットセレクター必須注入機密説明
plugin_daemon_keyfeature.aggrega.ai/kind=secretいいえenvはいOptional credential the runtime requires of every caller, and which the API server and the task worker present on every call they make, each on its own connection to the runtime. The same credential is attached here and on both connections, or on none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-daemon-server-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

自己注入の許可リスト

env

関係

他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。

使用先

使用元

Component の概念リファレンス →

Aggrega カタログ — コンポーネント、機能、レシピ、およびそれらをレンダリングするプラグインのオープンなインデックスです。

共有の Aggrega デザインシステムで構築されています。

プライバシー