From 27048fd4e6a3692c8a6ba6cb2ad6b9f674b15213 Mon Sep 17 00:00:00 2001 From: Alter-xyz <88554920+alterxyz@users.noreply.github.com> Date: Fri, 16 May 2025 22:15:00 +0800 Subject: [PATCH] chore: rename --- ...ontributor-covenant-code-of-conduct.en.mdx | 7 +- ...> 0111-getting-started-dify-plugin.ja.mdx} | 4 +- ...eatsheet.zh.mdx => 0131-cheatsheet.ja.mdx} | 4 +- ... => 0211-getting-started-by-prompt.ja.mdx} | 4 +- ... => 0211-getting-started-dify-tool.ja.mdx} | 4 +- ... => 0211-getting-started-new-model.ja.mdx} | 4 +- ... 0221-initialize-development-tools.ja.mdx} | 4 +- ...-creating-new-model-provider-extra.ja.mdx} | 4 +- ...> 0222-creating-new-model-provider.ja.mdx} | 4 +- ...-plugin.zh.mdx => 0222-tool-plugin.ja.mdx} | 4 +- ...ntributor-covenant-code-of-conduct.ja.mdx} | 4 +- ...0312-privacy-protection-guidelines.ja.mdx} | 4 +- ...ew.zh.mdx => 0321-release-overview.ja.mdx} | 4 +- ...ile.zh.mdx => 0322-release-by-file.ja.mdx} | 4 +- ...> 0322-release-to-dify-marketplace.ja.mdx} | 4 +- ...-release-to-individual-github-repo.ja.mdx} | 4 +- .../{0331-faq.zh.mdx => 0331-faq.ja.mdx} | 4 +- ...mdx => 0411-general-specifications.ja.mdx} | 4 +- ....mdx => 0411-model-designing-rules.ja.mdx} | 4 +- ... => 0411-model-plugin-introduction.ja.mdx} | 4 +- ....mdx => 0411-persistent-storage-kv.ja.mdx} | 4 +- ...dx => 0411-plugin-info-by-manifest.ja.mdx} | 4 +- ....mdx => 0411-remote-debug-a-plugin.ja.mdx} | 7 +- .../{0411-tool.zh.mdx => 0411-tool.ja.mdx} | 4 +- ...schema.zh.mdx => 0412-model-schema.ja.mdx} | 4 +- ...=> 0432-develop-a-slack-bot-plugin.ja.mdx} | 8 +- plugin_dev_ja/0432-endpoint.zh.mdx | 137 ------------------ ...in.zh.mdx => 9231-extension-plugin.ja.mdx} | 4 +- .../{9232-agent.zh.mdx => 9232-agent.ja.mdx} | 4 +- ...{9241-bundle.zh.mdx => 9241-bundle.ja.mdx} | 8 +- ....zh.mdx => 9241-reverse-invocation.ja.mdx} | 4 +- ...mdx => 9242-reverse-invocation-app.ja.mdx} | 4 +- ...x => 9242-reverse-invocation-model.ja.mdx} | 4 +- ...dx => 9242-reverse-invocation-tool.ja.mdx} | 7 +- ....zh.mdx => 9243-customizable-model.ja.mdx} | 4 +- ...dx => 9243-reverse-invocation-node.ja.mdx} | 4 +- ....mdx => 9433-agent-strategy-plugin.ja.mdx} | 4 +- 37 files changed, 86 insertions(+), 212 deletions(-) rename plugin_dev_ja/{0111-getting-started-dify-plugin.zh.mdx => 0111-getting-started-dify-plugin.ja.mdx} (98%) rename plugin_dev_ja/{0131-cheatsheet.zh.mdx => 0131-cheatsheet.ja.mdx} (98%) rename plugin_dev_ja/{0211-getting-started-by-prompt.zh.mdx => 0211-getting-started-by-prompt.ja.mdx} (99%) rename plugin_dev_ja/{0211-getting-started-dify-tool.zh.mdx => 0211-getting-started-dify-tool.ja.mdx} (99%) rename plugin_dev_ja/{0211-getting-started-new-model.zh.mdx => 0211-getting-started-new-model.ja.mdx} (99%) rename plugin_dev_ja/{0221-initialize-development-tools.zh.mdx => 0221-initialize-development-tools.ja.mdx} (97%) rename plugin_dev_ja/{0222-creating-new-model-provider-extra.zh.mdx => 0222-creating-new-model-provider-extra.ja.mdx} (99%) rename plugin_dev_ja/{0222-creating-new-model-provider.zh.mdx => 0222-creating-new-model-provider.ja.mdx} (99%) rename plugin_dev_ja/{0222-tool-plugin.zh.mdx => 0222-tool-plugin.ja.mdx} (99%) rename plugin_dev_ja/{0312-contributor-covenant-code-of-conduct.zh.mdx => 0312-contributor-covenant-code-of-conduct.ja.mdx} (99%) rename plugin_dev_ja/{0312-privacy-protection-guidelines.zh.mdx => 0312-privacy-protection-guidelines.ja.mdx} (98%) rename plugin_dev_ja/{0321-release-overview.zh.mdx => 0321-release-overview.ja.mdx} (98%) rename plugin_dev_ja/{0322-release-by-file.zh.mdx => 0322-release-by-file.ja.mdx} (98%) rename plugin_dev_ja/{0322-release-to-dify-marketplace.zh.mdx => 0322-release-to-dify-marketplace.ja.mdx} (98%) rename plugin_dev_ja/{0322-release-to-individual-github-repo.zh.mdx => 0322-release-to-individual-github-repo.ja.mdx} (98%) rename plugin_dev_ja/{0331-faq.zh.mdx => 0331-faq.ja.mdx} (96%) rename plugin_dev_ja/{0411-general-specifications.zh.mdx => 0411-general-specifications.ja.mdx} (98%) rename plugin_dev_ja/{0411-model-designing-rules.zh.mdx => 0411-model-designing-rules.ja.mdx} (99%) rename plugin_dev_ja/{0411-model-plugin-introduction.zh.mdx => 0411-model-plugin-introduction.ja.mdx} (97%) rename plugin_dev_ja/{0411-persistent-storage-kv.zh.mdx => 0411-persistent-storage-kv.ja.mdx} (96%) rename plugin_dev_ja/{0411-plugin-info-by-manifest.zh.mdx => 0411-plugin-info-by-manifest.ja.mdx} (98%) rename plugin_dev_ja/{0411-remote-debug-a-plugin.zh.mdx => 0411-remote-debug-a-plugin.ja.mdx} (93%) rename plugin_dev_ja/{0411-tool.zh.mdx => 0411-tool.ja.mdx} (98%) rename plugin_dev_ja/{0412-model-schema.zh.mdx => 0412-model-schema.ja.mdx} (99%) rename plugin_dev_ja/{0432-develop-a-slack-bot-plugin.zh.mdx => 0432-develop-a-slack-bot-plugin.ja.mdx} (98%) delete mode 100644 plugin_dev_ja/0432-endpoint.zh.mdx rename plugin_dev_ja/{9231-extension-plugin.zh.mdx => 9231-extension-plugin.ja.mdx} (99%) rename plugin_dev_ja/{9232-agent.zh.mdx => 9232-agent.ja.mdx} (99%) rename plugin_dev_ja/{9241-bundle.zh.mdx => 9241-bundle.ja.mdx} (92%) rename plugin_dev_ja/{9241-reverse-invocation.zh.mdx => 9241-reverse-invocation.ja.mdx} (97%) rename plugin_dev_ja/{9242-reverse-invocation-app.zh.mdx => 9242-reverse-invocation-app.ja.mdx} (98%) rename plugin_dev_ja/{9242-reverse-invocation-model.zh.mdx => 9242-reverse-invocation-model.ja.mdx} (98%) rename plugin_dev_ja/{9242-reverse-invocation-tool.zh.mdx => 9242-reverse-invocation-tool.ja.mdx} (92%) rename plugin_dev_ja/{9243-customizable-model.zh.mdx => 9243-customizable-model.ja.mdx} (99%) rename plugin_dev_ja/{9243-reverse-invocation-node.zh.mdx => 9243-reverse-invocation-node.ja.mdx} (97%) rename plugin_dev_ja/{9433-agent-strategy-plugin.zh.mdx => 9433-agent-strategy-plugin.ja.mdx} (99%) diff --git a/plugin_dev_en/0312-contributor-covenant-code-of-conduct.en.mdx b/plugin_dev_en/0312-contributor-covenant-code-of-conduct.en.mdx index a1bdecf0..b8d5b507 100644 --- a/plugin_dev_en/0312-contributor-covenant-code-of-conduct.en.mdx +++ b/plugin_dev_en/0312-contributor-covenant-code-of-conduct.en.mdx @@ -7,7 +7,12 @@ dimensions: standard_title: Contributor Covenant Code of Conduct language: en title: Plugin Development Guidelines -description: To ensure the quality of all plugins in the Dify Marketplace and provide a consistent, high-quality experience for Dify Marketplace users, you must adhere to all requirements outlined in these Plugin Development Guidelines when submitting a plugin for review. By submitting a plugin, **you acknowledge that you have read, understood, and agree to comply with all the following terms**. Following these guidelines will help your plugin get reviewed faster. +description: To ensure the quality of all plugins in the Dify Marketplace and provide + a consistent, high-quality experience for Dify Marketplace users, you must adhere + to all requirements outlined in these Plugin Development Guidelines when submitting + a plugin for review. By submitting a plugin, **you acknowledge that you have read, + understood, and agree to comply with all the following terms**. Following these + guidelines will help your plugin get reviewed faster. --- ## 1. Plugin Value and Uniqueness diff --git a/plugin_dev_ja/0111-getting-started-dify-plugin.zh.mdx b/plugin_dev_ja/0111-getting-started-dify-plugin.ja.mdx similarity index 98% rename from plugin_dev_ja/0111-getting-started-dify-plugin.zh.mdx rename to plugin_dev_ja/0111-getting-started-dify-plugin.ja.mdx index efb0d012..230e0f45 100644 --- a/plugin_dev_ja/0111-getting-started-dify-plugin.zh.mdx +++ b/plugin_dev_ja/0111-getting-started-dify-plugin.ja.mdx @@ -70,14 +70,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0131-cheatsheet.zh.mdx b/plugin_dev_ja/0131-cheatsheet.ja.mdx similarity index 98% rename from plugin_dev_ja/0131-cheatsheet.zh.mdx rename to plugin_dev_ja/0131-cheatsheet.ja.mdx index 63ee5487..c3b44be6 100644 --- a/plugin_dev_ja/0131-cheatsheet.zh.mdx +++ b/plugin_dev_ja/0131-cheatsheet.ja.mdx @@ -152,14 +152,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0211-getting-started-by-prompt.zh.mdx b/plugin_dev_ja/0211-getting-started-by-prompt.ja.mdx similarity index 99% rename from plugin_dev_ja/0211-getting-started-by-prompt.zh.mdx rename to plugin_dev_ja/0211-getting-started-by-prompt.ja.mdx index 28ac94c7..9ef31a87 100644 --- a/plugin_dev_ja/0211-getting-started-by-prompt.zh.mdx +++ b/plugin_dev_ja/0211-getting-started-by-prompt.ja.mdx @@ -1151,14 +1151,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0211-getting-started-dify-tool.zh.mdx b/plugin_dev_ja/0211-getting-started-dify-tool.ja.mdx similarity index 99% rename from plugin_dev_ja/0211-getting-started-dify-tool.zh.mdx rename to plugin_dev_ja/0211-getting-started-dify-tool.ja.mdx index 5b1f6198..aaba5478 100644 --- a/plugin_dev_ja/0211-getting-started-dify-tool.zh.mdx +++ b/plugin_dev_ja/0211-getting-started-dify-tool.ja.mdx @@ -549,14 +549,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0211-getting-started-new-model.zh.mdx b/plugin_dev_ja/0211-getting-started-new-model.ja.mdx similarity index 99% rename from plugin_dev_ja/0211-getting-started-new-model.zh.mdx rename to plugin_dev_ja/0211-getting-started-new-model.ja.mdx index 5e4bac38..dd6d972b 100644 --- a/plugin_dev_ja/0211-getting-started-new-model.zh.mdx +++ b/plugin_dev_ja/0211-getting-started-new-model.ja.mdx @@ -123,14 +123,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0221-initialize-development-tools.zh.mdx b/plugin_dev_ja/0221-initialize-development-tools.ja.mdx similarity index 97% rename from plugin_dev_ja/0221-initialize-development-tools.zh.mdx rename to plugin_dev_ja/0221-initialize-development-tools.ja.mdx index b1948a2d..808cff17 100644 --- a/plugin_dev_ja/0221-initialize-development-tools.zh.mdx +++ b/plugin_dev_ja/0221-initialize-development-tools.ja.mdx @@ -75,14 +75,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0222-creating-new-model-provider-extra.zh.mdx b/plugin_dev_ja/0222-creating-new-model-provider-extra.ja.mdx similarity index 99% rename from plugin_dev_ja/0222-creating-new-model-provider-extra.zh.mdx rename to plugin_dev_ja/0222-creating-new-model-provider-extra.ja.mdx index 256165ef..ce70273d 100644 --- a/plugin_dev_ja/0222-creating-new-model-provider-extra.zh.mdx +++ b/plugin_dev_ja/0222-creating-new-model-provider-extra.ja.mdx @@ -283,14 +283,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0222-creating-new-model-provider.zh.mdx b/plugin_dev_ja/0222-creating-new-model-provider.ja.mdx similarity index 99% rename from plugin_dev_ja/0222-creating-new-model-provider.zh.mdx rename to plugin_dev_ja/0222-creating-new-model-provider.ja.mdx index c1df3a0e..8e9e03c3 100644 --- a/plugin_dev_ja/0222-creating-new-model-provider.zh.mdx +++ b/plugin_dev_ja/0222-creating-new-model-provider.ja.mdx @@ -271,14 +271,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0222-tool-plugin.zh.mdx b/plugin_dev_ja/0222-tool-plugin.ja.mdx similarity index 99% rename from plugin_dev_ja/0222-tool-plugin.zh.mdx rename to plugin_dev_ja/0222-tool-plugin.ja.mdx index 5b85f654..62002fab 100644 --- a/plugin_dev_ja/0222-tool-plugin.zh.mdx +++ b/plugin_dev_ja/0222-tool-plugin.ja.mdx @@ -385,14 +385,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0312-contributor-covenant-code-of-conduct.zh.mdx b/plugin_dev_ja/0312-contributor-covenant-code-of-conduct.ja.mdx similarity index 99% rename from plugin_dev_ja/0312-contributor-covenant-code-of-conduct.zh.mdx rename to plugin_dev_ja/0312-contributor-covenant-code-of-conduct.ja.mdx index b967bd99..4b73b18c 100644 --- a/plugin_dev_ja/0312-contributor-covenant-code-of-conduct.zh.mdx +++ b/plugin_dev_ja/0312-contributor-covenant-code-of-conduct.ja.mdx @@ -71,14 +71,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0312-privacy-protection-guidelines.zh.mdx b/plugin_dev_ja/0312-privacy-protection-guidelines.ja.mdx similarity index 98% rename from plugin_dev_ja/0312-privacy-protection-guidelines.zh.mdx rename to plugin_dev_ja/0312-privacy-protection-guidelines.ja.mdx index b82c142f..68a11802 100644 --- a/plugin_dev_ja/0312-privacy-protection-guidelines.zh.mdx +++ b/plugin_dev_ja/0312-privacy-protection-guidelines.ja.mdx @@ -99,14 +99,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0321-release-overview.zh.mdx b/plugin_dev_ja/0321-release-overview.ja.mdx similarity index 98% rename from plugin_dev_ja/0321-release-overview.zh.mdx rename to plugin_dev_ja/0321-release-overview.ja.mdx index 587467ff..3cd8026e 100644 --- a/plugin_dev_ja/0321-release-overview.zh.mdx +++ b/plugin_dev_ja/0321-release-overview.ja.mdx @@ -93,14 +93,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0322-release-by-file.zh.mdx b/plugin_dev_ja/0322-release-by-file.ja.mdx similarity index 98% rename from plugin_dev_ja/0322-release-by-file.zh.mdx rename to plugin_dev_ja/0322-release-by-file.ja.mdx index 9984c269..97b350b7 100644 --- a/plugin_dev_ja/0322-release-by-file.zh.mdx +++ b/plugin_dev_ja/0322-release-by-file.ja.mdx @@ -72,14 +72,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0322-release-to-dify-marketplace.zh.mdx b/plugin_dev_ja/0322-release-to-dify-marketplace.ja.mdx similarity index 98% rename from plugin_dev_ja/0322-release-to-dify-marketplace.zh.mdx rename to plugin_dev_ja/0322-release-to-dify-marketplace.ja.mdx index 812151ca..4e873fc3 100644 --- a/plugin_dev_ja/0322-release-to-dify-marketplace.zh.mdx +++ b/plugin_dev_ja/0322-release-to-dify-marketplace.ja.mdx @@ -110,14 +110,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0322-release-to-individual-github-repo.zh.mdx b/plugin_dev_ja/0322-release-to-individual-github-repo.ja.mdx similarity index 98% rename from plugin_dev_ja/0322-release-to-individual-github-repo.zh.mdx rename to plugin_dev_ja/0322-release-to-individual-github-repo.ja.mdx index 3b4ec710..8bd831a7 100644 --- a/plugin_dev_ja/0322-release-to-individual-github-repo.zh.mdx +++ b/plugin_dev_ja/0322-release-to-individual-github-repo.ja.mdx @@ -115,14 +115,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0331-faq.zh.mdx b/plugin_dev_ja/0331-faq.ja.mdx similarity index 96% rename from plugin_dev_ja/0331-faq.zh.mdx rename to plugin_dev_ja/0331-faq.ja.mdx index a753b8ea..80641b92 100644 --- a/plugin_dev_ja/0331-faq.zh.mdx +++ b/plugin_dev_ja/0331-faq.ja.mdx @@ -44,14 +44,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-general-specifications.zh.mdx b/plugin_dev_ja/0411-general-specifications.ja.mdx similarity index 98% rename from plugin_dev_ja/0411-general-specifications.zh.mdx rename to plugin_dev_ja/0411-general-specifications.ja.mdx index 34dce4cd..8badbe95 100644 --- a/plugin_dev_ja/0411-general-specifications.zh.mdx +++ b/plugin_dev_ja/0411-general-specifications.ja.mdx @@ -129,14 +129,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-model-designing-rules.zh.mdx b/plugin_dev_ja/0411-model-designing-rules.ja.mdx similarity index 99% rename from plugin_dev_ja/0411-model-designing-rules.zh.mdx rename to plugin_dev_ja/0411-model-designing-rules.ja.mdx index db35ffb6..a8a8438b 100644 --- a/plugin_dev_ja/0411-model-designing-rules.zh.mdx +++ b/plugin_dev_ja/0411-model-designing-rules.ja.mdx @@ -223,14 +223,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-model-plugin-introduction.zh.mdx b/plugin_dev_ja/0411-model-plugin-introduction.ja.mdx similarity index 97% rename from plugin_dev_ja/0411-model-plugin-introduction.zh.mdx rename to plugin_dev_ja/0411-model-plugin-introduction.ja.mdx index 55d4355b..017d9637 100644 --- a/plugin_dev_ja/0411-model-plugin-introduction.zh.mdx +++ b/plugin_dev_ja/0411-model-plugin-introduction.ja.mdx @@ -91,14 +91,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-persistent-storage-kv.zh.mdx b/plugin_dev_ja/0411-persistent-storage-kv.ja.mdx similarity index 96% rename from plugin_dev_ja/0411-persistent-storage-kv.zh.mdx rename to plugin_dev_ja/0411-persistent-storage-kv.ja.mdx index 654742e8..2aecffa2 100644 --- a/plugin_dev_ja/0411-persistent-storage-kv.zh.mdx +++ b/plugin_dev_ja/0411-persistent-storage-kv.ja.mdx @@ -71,14 +71,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-plugin-info-by-manifest.zh.mdx b/plugin_dev_ja/0411-plugin-info-by-manifest.ja.mdx similarity index 98% rename from plugin_dev_ja/0411-plugin-info-by-manifest.zh.mdx rename to plugin_dev_ja/0411-plugin-info-by-manifest.ja.mdx index 2e26dc48..9ec28953 100644 --- a/plugin_dev_ja/0411-plugin-info-by-manifest.zh.mdx +++ b/plugin_dev_ja/0411-plugin-info-by-manifest.ja.mdx @@ -124,14 +124,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-remote-debug-a-plugin.zh.mdx b/plugin_dev_ja/0411-remote-debug-a-plugin.ja.mdx similarity index 93% rename from plugin_dev_ja/0411-remote-debug-a-plugin.zh.mdx rename to plugin_dev_ja/0411-remote-debug-a-plugin.ja.mdx index 444e8b4f..89ca7776 100644 --- a/plugin_dev_ja/0411-remote-debug-a-plugin.zh.mdx +++ b/plugin_dev_ja/0411-remote-debug-a-plugin.ja.mdx @@ -7,7 +7,8 @@ dimensions: standard_title: Remote Debug a Plugin language: ja title: プラグインのデバッグ -description: このドキュメントでは、Dify のリモートデバッグ機能を使用してプラグインをテストする方法を紹介します。デバッグ情報の取得、環境変数ファイルの設定、プラグインのリモートデバッグの開始、およびプラグインインストール状況の確認といった一連のプロセスを詳しく説明します。これにより、開発者はローカルで開発しながら、Dify 環境でリアルタイムにプラグインをテストできます。 +description: このドキュメントでは、Dify のリモートデバッグ機能を使用してプラグインをテストする方法を紹介します。デバッグ情報の取得、環境変数ファイルの設定、プラグインのリモートデバッグの開始、およびプラグインインストール状況の確認といった一連のプロセスを詳しく説明します。これにより、開発者はローカルで開発しながら、Dify + 環境でリアルタイムにプラグインをテストできます。 --- プラグイン開発が完了したら、次にプラグインが正常に動作するかをテストする必要があります。Difyは便利なリモートデバッグ方法を提供し、テスト環境でプラグインの機能を迅速に検証するのに役立ちます。 @@ -41,14 +42,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0411-tool.zh.mdx b/plugin_dev_ja/0411-tool.ja.mdx similarity index 98% rename from plugin_dev_ja/0411-tool.zh.mdx rename to plugin_dev_ja/0411-tool.ja.mdx index ce2d6828..cdc3fedb 100644 --- a/plugin_dev_ja/0411-tool.zh.mdx +++ b/plugin_dev_ja/0411-tool.ja.mdx @@ -130,14 +130,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0412-model-schema.zh.mdx b/plugin_dev_ja/0412-model-schema.ja.mdx similarity index 99% rename from plugin_dev_ja/0412-model-schema.zh.mdx rename to plugin_dev_ja/0412-model-schema.ja.mdx index f44cccec..0d98fb7e 100644 --- a/plugin_dev_ja/0412-model-schema.zh.mdx +++ b/plugin_dev_ja/0412-model-schema.ja.mdx @@ -693,14 +693,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0432-develop-a-slack-bot-plugin.zh.mdx b/plugin_dev_ja/0432-develop-a-slack-bot-plugin.ja.mdx similarity index 98% rename from plugin_dev_ja/0432-develop-a-slack-bot-plugin.zh.mdx rename to plugin_dev_ja/0432-develop-a-slack-bot-plugin.ja.mdx index 0c14449c..781d6932 100644 --- a/plugin_dev_ja/0432-develop-a-slack-bot-plugin.zh.mdx +++ b/plugin_dev_ja/0432-develop-a-slack-bot-plugin.ja.mdx @@ -7,7 +7,9 @@ dimensions: standard_title: Develop A Slack Bot Plugin language: ja title: Slack Bot プラグインの開発 -description: このドキュメントでは、プロジェクトの初期化、設定フォームの編集、機能コードの実装、プラグインのデバッグ、エンドポイントの設定、効果検証からパッケージ化、リリースまでの完全なSlack Botプラグイン開発ガイドを提供します。Slackプラットフォーム上でAI駆動のチャットボットを構築するために、Difyプラグインスキャフォールディングツールと作成済みのSlack Appが必要です。 +description: このドキュメントでは、プロジェクトの初期化、設定フォームの編集、機能コードの実装、プラグインのデバッグ、エンドポイントの設定、効果検証からパッケージ化、リリースまでの完全なSlack + Botプラグイン開発ガイドを提供します。Slackプラットフォーム上でAI駆動のチャットボットを構築するために、Difyプラグインスキャフォールディングツールと作成済みのSlack + Appが必要です。 --- **本稿では、次のことをお手伝いします。** @@ -354,14 +356,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/0432-endpoint.zh.mdx b/plugin_dev_ja/0432-endpoint.zh.mdx deleted file mode 100644 index fc6ee32e..00000000 --- a/plugin_dev_ja/0432-endpoint.zh.mdx +++ /dev/null @@ -1,137 +0,0 @@ ---- -dimensions: - type: - primary: reference - detail: examples - level: intermediate -standard_title: Endpoint -language: ja -title: エンドポイント -description: 作成者: Yeuoly、Allen このドキュメントでは、Difyプラグインにおけるエンドポイントの構造と実装方法について、虹猫(Neko)プロジェクトを例に詳しく説明します。内容は、エンドポイントグループの定義方法、インターフェースの設定、_invokeメソッドの実装、リクエストとレスポンスの処理を含みます。ドキュメントでは、さまざまなYAML設定フィールドの意味と使用方法を詳細に解説しています。 ---- - -本稿では、[虹猫](/plugin_dev_ja/9231-extension-plugin.ja)プロジェクトを例に、プラグイン内のエンドポイントの構造について説明します。エンドポイントは、プラグインが外部に公開するHTTPインターフェースであり、外部システムとの統合に使用できます。完全なプラグインコードは、[Githubリポジトリ](https://github.com/langgenius/dify-plugin-sdks/tree/main/python/examples/neko)を参照してください。 - -### グループ定義 - -`Endpoint` グループは複数の `Endpoint` の集合であり、`Dify` プラグイン内で新しい `Endpoint` を作成する際に、以下のような設定を記入する必要がある場合があります。 - -![](https://assets-docs.dify.ai/2024/11/763dbf86e4319591415dc5a1b6948ccb.png) - -`Endpoint Name` 以外に、グループの設定情報を記述することで新しいフォーム項目を追加できます。保存をクリックすると、そこに含まれる複数のインターフェースが表示され、それらは同じ設定情報を使用します。 - -![](https://assets-docs.dify.ai/2024/11/b778b7093b7df0dc80a476c65ddcbe58.png) - -#### **構造** - -* `settings`(map\[string] [ProviderConfig](/plugin_dev_ja/0411-general-specifications#providerconfig.ja) ):エンドポイント設定定義 -* `endpoints`(list\[string], required):具体的な `endpoint` インターフェース定義を指します - -```yaml -settings: - api_key: - type: secret-input - required: true - label: - en_US: API key - zh_Hans: API key - ja_Jp: API key - pt_BR: API key - placeholder: - en_US: Please input your API key - zh_Hans: 请输入你的 API key - ja_Jp: あなたの API key を入れてください - pt_BR: Por favor, insira sua chave API -endpoints: - - endpoints/duck.yaml - - endpoints/neko.yaml -``` - -### インターフェース定義 - -* `path`(string):werkzeugインターフェース標準に従います -* `method`(string):インターフェースメソッド。`HEAD` `GET` `POST` `PUT` `DELETE` `OPTIONS` のみをサポートします -* `extra`(object):基本情報以外の設定情報 - * `python`(object) - * `source`(string):このインターフェースを実装するソースコード - -```yaml -path: "/duck/" -method: "GET" -extra: - python: - source: "endpoints/duck.py" -``` - -### インターフェース実装 - -`dify_plugin.Endpoint` を継承したサブクラスを実装し、`_invoke` メソッドを実装する必要があります。 - -* **入力パラメータ** - * `r`(Request):`werkzeug` の `Request` オブジェクト - * `values`(Mapping):pathから解析されたパスパラメータ - * `settings`(Mapping):この `Endpoint` の設定情報 -* **戻り値** - * `werkzeug` の `Response` オブジェクト。ストリーミング応答をサポートします - * 文字列の直接返却はサポートしていません - -サンプルコード: - -```python -import json -from typing import Mapping -from werkzeug import Request, Response -from dify_plugin import Endpoint - -class Duck(Endpoint): - def _invoke(self, r: Request, values: Mapping, settings: Mapping) -> Response: - """ - Invokes the endpoint with the given request. - """ - app_id = values["app_id"] - - def generator(): - yield f"{app_id}
" - - return Response(generator(), status=200, content_type="text/html") -``` - -## 注意事項 - -* エンドポイントはプラグインが呼び出されたときにのみインスタンス化され、常時実行されるサービスではありません -* エンドポイントを開発する際は、セキュリティに注意し、危険な操作の実行を避けてください -* エンドポイントは、Webhookコールバックの処理や、他のシステムが接続するためのインターフェースの提供に使用できます - -プラグイン開発を学習している場合は、まず[プラグイン開発入門ガイド](/plugin_dev_ja/0211-getting-started-dify-tool.ja)と[開発者向けチートシート](/plugin_dev_ja/0131-cheatsheet.ja)を読むことをお勧めします。 - -## 関連リソース - -- [プラグイン開発の基本概念](/plugin_dev_ja/0111-getting-started-dify-plugin.ja) - プラグイン開発の全体的なアーキテクチャを理解する -- [虹猫(Neko)インスタンス](/plugin_dev_ja/9231-extension-plugin.ja) - 拡張プラグイン開発の例 -- [共通仕様定義](/plugin_dev_ja/0411-general-specifications.ja) - ProviderConfigなどの共通構造を理解する -- [Slackボットプラグイン開発例](/plugin_dev_ja/0432-develop-a-slack-bot-plugin.ja) - 別のプラグイン開発例 -- [プラグイン開発入門ガイド](/plugin_dev_ja/0211-getting-started-dify-tool.ja) - ゼロからプラグインを開発する -- [Difyサービスの逆呼び出し](/plugin_dev_ja/9241-reverse-invocation.ja) - 逆呼び出し機能の使用方法を理解する - -{/* -Contributing Section -DO NOT edit this section! -It will be automatically generated by the script. -*/} - - - - 直接貢献することでドキュメントの改善にご協力ください - - - エラーを見つけたり提案がありますか?お知らせください - - diff --git a/plugin_dev_ja/9231-extension-plugin.zh.mdx b/plugin_dev_ja/9231-extension-plugin.ja.mdx similarity index 99% rename from plugin_dev_ja/9231-extension-plugin.zh.mdx rename to plugin_dev_ja/9231-extension-plugin.ja.mdx index 8a811969..f1be877e 100644 --- a/plugin_dev_ja/9231-extension-plugin.zh.mdx +++ b/plugin_dev_ja/9231-extension-plugin.ja.mdx @@ -293,14 +293,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9232-agent.zh.mdx b/plugin_dev_ja/9232-agent.ja.mdx similarity index 99% rename from plugin_dev_ja/9232-agent.zh.mdx rename to plugin_dev_ja/9232-agent.ja.mdx index daa51e49..654b09e4 100644 --- a/plugin_dev_ja/9232-agent.zh.mdx +++ b/plugin_dev_ja/9232-agent.ja.mdx @@ -435,14 +435,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9241-bundle.zh.mdx b/plugin_dev_ja/9241-bundle.ja.mdx similarity index 92% rename from plugin_dev_ja/9241-bundle.zh.mdx rename to plugin_dev_ja/9241-bundle.ja.mdx index a0958908..b4109344 100644 --- a/plugin_dev_ja/9241-bundle.zh.mdx +++ b/plugin_dev_ja/9241-bundle.ja.mdx @@ -7,7 +7,9 @@ dimensions: standard_title: Bundle language: ja title: Bundle プラグインパッケージ -description: 本ドキュメントでは、Bundle プラグインパッケージの概念および開発方法について解説します。Bundle プラグインパッケージは、複数のプラグインを一つに統合することができ、Marketplace タイプ、GitHub タイプ、Package タイプの3種類をサポートしています。本ドキュメントでは、Bundle プロジェクトの作成、さまざまなタイプの依存関係の追加、および Bundle プロジェクトのパッケージ化に至る全プロセスを詳細に説明します。 +description: 本ドキュメントでは、Bundle プラグインパッケージの概念および開発方法について解説します。Bundle プラグインパッケージは、複数のプラグインを一つに統合することができ、Marketplace + タイプ、GitHub タイプ、Package タイプの3種類をサポートしています。本ドキュメントでは、Bundle プロジェクトの作成、さまざまなタイプの依存関係の追加、および + Bundle プロジェクトのパッケージ化に至る全プロセスを詳細に説明します。 --- Bundle プラグインパッケージは、複数のプラグインの集合です。これにより、複数のプラグインを単一のプラグイン内にパッケージ化し、プラグインの一括インストールを実現するとともに、より強力なサービスを提供できます。 @@ -103,14 +105,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9241-reverse-invocation.zh.mdx b/plugin_dev_ja/9241-reverse-invocation.ja.mdx similarity index 97% rename from plugin_dev_ja/9241-reverse-invocation.zh.mdx rename to plugin_dev_ja/9241-reverse-invocation.ja.mdx index fb7b799a..8a29d503 100644 --- a/plugin_dev_ja/9241-reverse-invocation.zh.mdx +++ b/plugin_dev_ja/9241-reverse-invocation.ja.mdx @@ -44,14 +44,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9242-reverse-invocation-app.zh.mdx b/plugin_dev_ja/9242-reverse-invocation-app.ja.mdx similarity index 98% rename from plugin_dev_ja/9242-reverse-invocation-app.zh.mdx rename to plugin_dev_ja/9242-reverse-invocation-app.ja.mdx index 582ea7fe..2b5781a1 100644 --- a/plugin_dev_ja/9242-reverse-invocation-app.zh.mdx +++ b/plugin_dev_ja/9242-reverse-invocation-app.ja.mdx @@ -132,14 +132,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9242-reverse-invocation-model.zh.mdx b/plugin_dev_ja/9242-reverse-invocation-model.ja.mdx similarity index 98% rename from plugin_dev_ja/9242-reverse-invocation-model.zh.mdx rename to plugin_dev_ja/9242-reverse-invocation-model.ja.mdx index 82bc41ec..c38ca1b7 100644 --- a/plugin_dev_ja/9242-reverse-invocation-model.zh.mdx +++ b/plugin_dev_ja/9242-reverse-invocation-model.ja.mdx @@ -298,14 +298,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9242-reverse-invocation-tool.zh.mdx b/plugin_dev_ja/9242-reverse-invocation-tool.ja.mdx similarity index 92% rename from plugin_dev_ja/9242-reverse-invocation-tool.zh.mdx rename to plugin_dev_ja/9242-reverse-invocation-tool.ja.mdx index 1da1223a..62f4528b 100644 --- a/plugin_dev_ja/9242-reverse-invocation-tool.zh.mdx +++ b/plugin_dev_ja/9242-reverse-invocation-tool.ja.mdx @@ -7,7 +7,8 @@ dimensions: standard_title: Reverse Invocation Tool language: ja title: ツール -description: このドキュメントでは、プラグインがDifyプラットフォーム内のツールサービスをリバース呼び出しする方法について詳しく説明します。内容は、インストール済みのツール(Built-in Tool)の呼び出し、Workflow as Toolの呼び出し、カスタムツール(Custom Tool)の呼び出しという3つの異なるタイプのツール呼び出し方法を網羅しています。各呼び出し方法には、対応するエントリポイントとインターフェースパラメータの説明が付いています。 +description: このドキュメントでは、プラグインがDifyプラットフォーム内のツールサービスをリバース呼び出しする方法について詳しく説明します。内容は、インストール済みのツール(Built-in + Tool)の呼び出し、Workflow as Toolの呼び出し、カスタムツール(Custom Tool)の呼び出しという3つの異なるタイプのツール呼び出し方法を網羅しています。各呼び出し方法には、対応するエントリポイントとインターフェースパラメータの説明が付いています。 --- リバース呼び出しツールとは、プラグインがDifyプラットフォーム内の他のツールタイプのプラグインを呼び出すことができることを指します。リバース呼び出しの基本概念にまだ慣れていない場合は、まず[Difyサービスのリバース呼び出し](/plugin_dev_ja/9241-reverse-invocation.ja)をお読みください。 @@ -101,14 +102,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9243-customizable-model.zh.mdx b/plugin_dev_ja/9243-customizable-model.ja.mdx similarity index 99% rename from plugin_dev_ja/9243-customizable-model.zh.mdx rename to plugin_dev_ja/9243-customizable-model.ja.mdx index 4415afca..6bae1097 100644 --- a/plugin_dev_ja/9243-customizable-model.zh.mdx +++ b/plugin_dev_ja/9243-customizable-model.ja.mdx @@ -359,14 +359,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9243-reverse-invocation-node.zh.mdx b/plugin_dev_ja/9243-reverse-invocation-node.ja.mdx similarity index 97% rename from plugin_dev_ja/9243-reverse-invocation-node.zh.mdx rename to plugin_dev_ja/9243-reverse-invocation-node.ja.mdx index 15638762..6cff4d94 100644 --- a/plugin_dev_ja/9243-reverse-invocation-node.zh.mdx +++ b/plugin_dev_ja/9243-reverse-invocation-node.ja.mdx @@ -105,14 +105,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください diff --git a/plugin_dev_ja/9433-agent-strategy-plugin.zh.mdx b/plugin_dev_ja/9433-agent-strategy-plugin.ja.mdx similarity index 99% rename from plugin_dev_ja/9433-agent-strategy-plugin.zh.mdx rename to plugin_dev_ja/9433-agent-strategy-plugin.ja.mdx index 8f5679c0..909630bd 100644 --- a/plugin_dev_ja/9433-agent-strategy-plugin.zh.mdx +++ b/plugin_dev_ja/9433-agent-strategy-plugin.ja.mdx @@ -1100,14 +1100,14 @@ It will be automatically generated by the script. 直接貢献することでドキュメントの改善にご協力ください エラーを見つけたり提案がありますか?お知らせください