by bailinghub · v0.1.2
Submit and inspect governed business actions through a self-hosted BailingHub control plane.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Use a Dify Agent or Workflow to submit business actions through a self-hosted BailingHub control plane.
The plugin intentionally exposes only three control-plane tools:
submit_governed_job: submit an action to an administrator-configured route;get_job: read the current state and terminal result of a job;wait_for_job: poll a job for a bounded period without waiting indefinitely.It does not import governed business APIs into Dify and does not give Dify admin, executor, or business-system credentials.
Dify Agent or Workflow
-> BailingHub Dify Plugin
-> POST /run
-> GET /jobs/{job_id}
-> BailingHub control plane
-> governed executor
-> business system
This repository is an independent integration adapter. It is not:
The dependency is one-way: this plugin consumes BailingHub's public Client API. See Project Boundaries and Compatibility.
BailingHub Base URL: the BailingHub HTTPS origin;Dedicated Client Token: the raw client token, without a Bearer prefix.Never use an admin token, executor token, tool-provider secret, or business-system credential as the Client Token.
request_id in the workflow, for example
dify:<conversation-id>:<workflow-run-id>:<step-id>.submit_governed_job with an administrator-provided route.job_id.wait_for_job for a short bounded wait, or call get_job from a later step.done as success. Treat error and rejected as terminal failures.queued, running, and dispatched are non-terminal. If a bounded wait times out,
query the same job_id later. Do not submit a replacement action. When retrying the
same business request, reuse the same request_id without changing its meaning or
arguments.
project and profile are not plugin inputs and cannot be overridden by a model.The plugin is an adapter to governance enforcement; it is not the final authorization boundary and does not make model output trustworthy.
The plugin sends requests only to the BailingHub base URL configured by the Dify administrator. See PRIVACY.md for the complete data-flow disclosure.
Python 3.12 and uv are recommended.
uv sync --dev
uv run ruff check .
uv run pytest
uv run python scripts/check_project.py
Package with a pinned Dify Plugin CLI as described in Releasing.
Apache License 2.0. See LICENSE.