mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-22 13:37:32 +08:00
- Core: list/get plugin info now report the install_source recorded by Core. Shared runtime slots (Cloud) built their container inside the plugin process and echoed an empty install_source, so the WebUI never detected marketplace updates nor showed the source badge on Cloud. Internal `_`-prefixed install_info keys are no longer returned. - WebUI: update detection pages through the whole marketplace catalog instead of the first 100 plugins (Space now lists 104). - WebUI: plugin detail page shows the installed version badge and, for marketplace installs with a newer listed version, an "Update to vX" button that runs the existing upgrade task with progress. LANG-586 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
56 lines
3.9 KiB
Plaintext
56 lines
3.9 KiB
Plaintext
---
|
|
title: "LangBotプラグイン"
|
|
---
|
|
|
|
LangBotは、大規模言語モデルツール、コマンド、メッセージングプラットフォームアダプター、LLMリクエスターなど、さまざまな内部コンポーネントで構成されています。拡張性と柔軟性の要件を満たすために、本番環境グレードのプラグインシステムを実装しました。
|
|
|
|
プラグインは Plugin Runtime により統一して管理されます。多くのプラグインは専用ランタイムを使用し、正確な artifact の有効な署名が確認されたリリースのみ、LangBot Cloud で[ワークスペース間の共有資格](/ja/plugin/certified-plugins)を得られます。レビューだけでは認証になりません。
|
|
|
|
<img width="600" src="/images/zh/plugin/dev/plugin_system_arch.png" />
|
|
|
|
## プラグイン構造
|
|
|
|
プラグインは、特定の機能に基づいて次のコンポーネントを提供できます:
|
|
|
|
- イベントハンドラー: パイプライン実行中のイベントをリッスンし、コンテキストやパイプラインを変更します。
|
|
- コマンド: `!`(または他の設定されたプレフィックス)で始まるユーザーコマンドメッセージによってトリガーされます。
|
|
- ツール: LangBotの組み込みLocal Agentの実行中にLLMによって呼び出されます。
|
|
- RAGエンジン: ナレッジベースのドキュメントインデックス作成と検索を管理します。
|
|
|
|
将来的には、プラグイン実装のためにより多くのコンポーネントタイプがサポートされます。
|
|
|
|
## プラグインのインストール
|
|
|
|
現在、プラグインパッケージのアップロードとプラグインマーケットプレイスからのプラグインのインストールをサポートしています。
|
|
LangBotのプラグイン管理ページで、右上隅をクリックしてインストール方法を選択します。
|
|
|
|
<img width="600" src="/images/zh/plugin/install_method.png" />
|
|
|
|
`Upload Local`をクリックして、他の人が共有した`.lbpkg`ファイルまたはマーケットプレイスからダウンロードしたファイルを選択してプラグインをインストールします。
|
|
|
|
または、プラグインマーケットプレイスタブをクリックし、プラグインを選択してインストールをクリックします。
|
|
|
|
<img width="600" src="/images/zh/plugin/install_from_marketplace.png" />
|
|
|
|
プラグインをインストールした後、パイプライン設定ページでプラグインを選択する必要があります。
|
|
|
|
<img width="600" src="/images/zh/plugin/pipeline_extensions.png" />
|
|
|
|
## プラグイン管理
|
|
|
|
### プラグイン設定
|
|
|
|
一部のプラグインでは、特定の設定項目を入力する必要がある場合があります(プラグインREADMEの指示を参照)。プラグインカードをクリックしてプラグイン詳細ページに入り、プロンプトに従って必要な情報を取得して入力します。
|
|
|
|
<img width="600" src="/images/zh/plugin/plugin_config.png" />
|
|
|
|
### プラグインの更新
|
|
|
|
プラグインマーケットプレイスからインストールされたプラグインのみを更新できます。プラグイン詳細ページのタイトル横にインストール済みのバージョンが表示され、マーケットプレイスに新しいバージョンがある場合は詳細ページ右上に「vX.Y.Z に更新」ボタンが表示されます。インストール済み一覧のプラグインメニューからも更新できます。
|
|
|
|
<img width="600" src="/images/zh/plugin/update_plugin.png" />
|
|
|
|
## プラグインマーケットプレイス
|
|
|
|
プラグインマーケットプレイスには、LangBotの内部`プラグイン管理`ページからアクセスするか、スタンドアロンサイト[LangBotプラグインマーケットプレイス](https://space.langbot.app/market)にアクセスできます。
|