Skip to content

feat: add OceanBus plugin — AI Agent communication and trust infrastructure#2369

Open
ryanbihai wants to merge 1 commit into
langgenius:mainfrom
ryanbihai:add-oceanbus-plugin
Open

feat: add OceanBus plugin — AI Agent communication and trust infrastructure#2369
ryanbihai wants to merge 1 commit into
langgenius:mainfrom
ryanbihai:add-oceanbus-plugin

Conversation

@ryanbihai
Copy link
Copy Markdown

OceanBus Plugin v0.0.1

AI Agent communication and trust infrastructure plugin for Dify.

Repository: https://github.com/ryanbihai/oceanbus-dify-plugin

7 Tools

Tool Description
register_agent Create OceanBus Agent identity
get_openid Get public OpenID address
send_message End-to-end encrypted messaging
sync_messages Poll mailbox for new messages
block_sender UUID-based sender blocking
discover_yellow_pages Search Yellow Pages for AI services
query_reputation Query Agent trustworthiness signals

Verified

All tools tested against live OceanBus L0 API (https://ai-t.ihaola.com.cn/api/l0).

Privacy

PRIVACY.md included — no user data collection.

@ryanbihai ryanbihai force-pushed the add-oceanbus-plugin branch from 91219b1 to b1543bb Compare May 6, 2026 00:45
Copy link
Copy Markdown
Member

@crazywoola crazywoola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Request Changes

Decision: Request changes

Failed Checks

Check Status Detail
dify_plugin version ❌ Fail dify_plugin must be installed and >= 0.5.0, but it was not found.
Install test ❌ Fail Command failed (1): /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/.venv/bin/python /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/toolkit/validator/test-plugin-install.py -d /var/folders/c5/ssq8b54n0rj6…

Full Check Results

Check Status Detail
PR content language ✅ Pass PR title/body CJK ratio=0.0% (zh=0, en=591, ignored_zh=0, allowed_zh<=0)
Project structure ✅ Pass All expected files present: manifest.yaml, README.md, PRIVACY.md. _assets/: yes.
Manifest author ✅ Pass author is valid.
Icon validation ✅ Pass icon exists: _assets/icon.svg
Version check ✅ Pass version 0.0.1 is available.
README language ✅ Pass README.md CJK ratio=0.0% (zh=0, en=581, allowed_zh<=0)
PRIVACY.md ✅ Pass PRIVACY.md exists and is non-empty.
Dependency install ✅ Pass requirements installed successfully.
dify_plugin version ❌ Fail dify_plugin must be installed and >= 0.5.0, but it was not found.
Install test ❌ Fail Command failed (1): /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/.venv/bin/python /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/toolkit/validator/test-plugin-install.py -d /var/folders/c5/ssq8b54n0rj6…
Packaging test ✅ Pass packaging check passed.

Required Fixes

  • dify_plugin version: dify_plugin must be installed and >= 0.5.0, but it was not found.
  • Install test: Command failed (1): /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/.venv/bin/python /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/toolkit/validator/test-plugin-install.py -d /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/pr-review-helper-zoqx4u9i/unpacked_plugin
    ERROR:root:code for hash blake2b was not found.
    Traceback (most recent call last):
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 245, in
    globals()[__func_name] = __get_hash(__func_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
    ValueError: unsupported hash type blake2b
    ERROR:root:code for hash blake2s was not found.
    Traceback (most recent call last):
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 245, in
    globals()[__func_name] = __get_hash(__func_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/minibanana/.pyenv/versions/3.12.7/lib/python3.12/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
    ValueError: unsupported hash type blake2s

Please address these issues and push an update.

@ryanbihai ryanbihai force-pushed the add-oceanbus-plugin branch from b1543bb to a5d6425 Compare May 7, 2026 05:44
@ryanbihai
Copy link
Copy Markdown
Author

Hi @crazywoola, thanks for the review!

Fixed in v0.0.2:

  • Added dify_plugin>=0.5.0 to requirements.txt
  • Bumped manifest version to 0.0.2

Could you please re-run the pre-check workflow when you get a chance? Thanks!

@ryanbihai
Copy link
Copy Markdown
Author

Hi @crazywoola, friendly follow-up — would you be able to re-run the pre-check workflow when you have a moment?

The two issues from the first review have been addressed:

  • Added dify_plugin>=0.5.0 to requirements.txt
  • The blake2b error appears to be a CI Python environment issue (OpenSSL build), not the plugin itself

Thanks for your time!

Copy link
Copy Markdown
Member

@crazywoola crazywoola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Request Changes

Decision: Request changes

Failed Checks

Check Status Detail Required action
README language ❌ Fail README.md CJK ratio=5.2% (zh=58, en=1068, allowed_zh<=0); Chinese characters are not allowed. Use multilingual README guidance: https://docs.dify.ai/en/develop-plugin/features-and-specs/plugin-types/multilingual-readme#multilingual-readme Remove Chinese characters from README.md and use the multilingual README pattern: https://docs.dify.ai/en/develop-plugin/features-and-specs/plugin-types/multilingual-readme#multilingual-readme
Install test ❌ Fail Command failed (1): /var/folders/yl/54qqf2s909z2kjf8_vy8sg940000gn/T/pr-review-helper-qqz23unv/.venv/bin/python /var/folders/yl/54qqf2s909z2kjf8_vy8sg940000gn/T/pr-review-helper-qqz23unv/toolkit/validator/test-plugin-install.py -d /var/folders/yl/54qqf2s909z2… Fix the plugin so test-plugin-install.py passes.

Full Check Results

Check Status Detail Required action
PR content language ✅ Pass PR title/body CJK ratio=0.0% (zh=0, en=591, ignored_zh=0, allowed_zh<=0) None.
Project structure ✅ Pass All expected files present: manifest.yaml, README.md, PRIVACY.md. _assets/: yes. None.
Manifest author ✅ Pass author is valid. None.
Icon validation ✅ Pass icon exists: _assets/icon.svg None.
Version check ✅ Pass version 0.0.2 is available. None.
README language ❌ Fail README.md CJK ratio=5.2% (zh=58, en=1068, allowed_zh<=0); Chinese characters are not allowed. Use multilingual README guidance: https://docs.dify.ai/en/develop-plugin/features-and-specs/plugin-types/multilingual-readme#multilingual-readme Remove Chinese characters from README.md and use the multilingual README pattern: https://docs.dify.ai/en/develop-plugin/features-and-specs/plugin-types/multilingual-readme#multilingual-readme
PRIVACY.md ✅ Pass PRIVACY.md exists and is non-empty. None.
Dependency install ✅ Pass requirements installed successfully. None.
dify_plugin version ✅ Pass dify_plugin version 0.8.0 satisfies >= 0.5.0. None.
Install test ❌ Fail Command failed (1): /var/folders/yl/54qqf2s909z2kjf8_vy8sg940000gn/T/pr-review-helper-qqz23unv/.venv/bin/python /var/folders/yl/54qqf2s909z2kjf8_vy8sg940000gn/T/pr-review-helper-qqz23unv/toolkit/validator/test-plugin-install.py -d /var/folders/yl/54qqf2s909z2… Fix the plugin so test-plugin-install.py passes.
Packaging test ✅ Pass packaging check passed. None.

Next steps

Please address these issues and push an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants